Skip to main content

zope.size

Latest release Supported Python versions https://github.com/zopefoundation/zope.size/actions/workflows/tests.yml/badge.svg Documentation Status https://coveralls.io/repos/github/zopefoundation/zope.size/badge.svg?branch=master

This package provides a definition of simple interface that allows applications 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, the adapter won’t crash if an object doesn’t have one and will show size as “not available” instead.

Development is hosted at https://github.com/zopefoundation/zope.size

Documentation is hosted at https://zopesize.readthedocs.io

Changes

6.1 (2026-11-23)

  • Move package metadata from setup.py to pyproject.toml.

  • Replaced version.txt fossil with importlib.metadata lookup (in docs/conf.py) / static value (setup.py).

  • Add support for Python 3.14, 3.15.

  • Drop support for Python 3.10, 3.9.

6.0 (2025-09-12)

  • Replace pkg_resources namespace with PEP 420 native namespace.

5.1 (2025-02-14)

  • Add support for Python 3.12, 3.13.

  • Drop support for Python 3.7, 3.8.

5.0 (2023-06-30)

  • Drop support for Python 2.7, 3.5, 3.6.

  • Add support for Python 3.11.

4.4 (2022-08-30)

  • Drop support for Python 3.4.

  • Add support for Python 3.8, 3.9, 3.10.

4.3 (2018-10-05)

  • Add support for Python 3.7.

4.2.0 (2017-07-27)

  • Add support for Python 3.5 and 3.6.

  • Drop support for Python 2.6, 3.2 and 3.3.

4.1.0 (2014-12-29)

  • Add support for PyPy3.

  • Add support for Python 3.4.

  • Add support for testing on Travis.

4.0.1 (2013-03-08)

  • Add Trove classifiers indicating CPython and PyPy support.

4.0.0 (2013-02-13)

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

  • Drop support for Python 2.4 and 2.5.

  • Add support for Python 3.2 and 3.3.

  • Conditionally disable 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)

  • Add support for bootstrapping on Jython.

  • Add docstrings.

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

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

3.4.0 (2006-09-29)

  • First release as a separate egg

Metadata

Release files for zope.size 6.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 6.1
File Size Uploaded Provenance Actions
zope_size-6.1.tar.gz 15.9 kB With provenance Details for zope_size-6.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for zope.size 6.1
File Interpreter ABI Platform Actions
zope_size-6.1-py3-none-any.whl Python 3 none any Details for zope_size-6.1-py3-none-any.whl

Total release size: 23.4 kB

Release files / zope_size-6.1.tar.gz

Download URL zope_size-6.1.tar.gz
Size 15.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9d23b0ff34b6d3d3d234ee283de99618210c8c15aa470790eed37787d4c9ed7a
BLAKE2b-256 checksum
How to use checksums
8a477aac23879e817d7b301fb6436c333288059d3bd62dc3703adc3132f97cbb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Release files / zope_size-6.1-py3-none-any.whl

Download URL zope_size-6.1-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
68bf215b3642d48b445040220aa4015136d6627bf5bfd354da2198a508d4d4ae
BLAKE2b-256 checksum
How to use checksums
1d97ecf96c3b80b27196a0ab1dddebd08e55dadb04cdbbcbfb1d3920beee316e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Security for zope.size 6.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for zope_size-6.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

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