Skip to main content
Help us improve Python packaging – donate today!

Interfaces and simple adapter that give the size of an object

Project Description

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 history Release notifications

History Node

4.2.0

History Node

4.1.0

This version
History Node

4.0.1

History Node

4.0.0

History Node

3.5.0

History Node

3.4.1

History Node

3.4.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
zope.size-4.0.1.zip (15.9 kB) Copy SHA256 hash SHA256 Source None Mar 8, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page