Skip to main content

This package provides a definition of simple interface that allows to retrieve the size of the object for displaying and for sorting.

The default adapter is also provided. It expects objects to have the getSize method that returns size in bytes, however, it won’t crash if an object doesn’t have one and will show size as not available instead.

CHANGES

4.0.1 (2013-03-08)

  • Add Trove classifiers indicating CPython and PyPy support.

4.0.0 (2013-02-13)

  • Replaced deprecated zope.interface.implements usage with equivalent zope.interface.implementer decorator.

  • Dropped support for Python 2.4 and 2.5.

  • Added support for Python 3.2 and 3.3.

  • Conditionally disabled tests that require zope.configuration and zope.security.

3.5.0 (2011-11-29)

  • Include zcml dependencies in configure.zcml, require the necessary packages via a zcml extra, added tests for zcml.

3.4.1 (2009-09-10)

  • Added support to bootstrap on Jython.

  • Added docstrings

  • Beautify package’s README and include CHANGES into the description.

  • Changed package’s url to PyPI instead of Subversion.

3.4.0 (2006-09-29)

  • First release as a separate egg

Release files for zope.size 4.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zope.size 4.0.1
File Size Uploaded Provenance Actions
zope.size-4.0.1.zip 15.9 kB Without provenance Details for zope.size-4.0.1.zip

Release files / zope.size-4.0.1.zip

Download URL zope.size-4.0.1.zip
Size 15.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5cbe721ed5fd4a76f47a50ca220896d42fe399b31eb97d9e2aae7c36646c2ee0
BLAKE2b-256 checksum
How to use checksums
cc0d4c6e3a6d494cf165430a153df41eac07635cbfa2ed07889a0f46e2297576
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for zope.size 4.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page