zope.size

Latest release Supported Python versions https://travis-ci.org/zopefoundation/zope.size.png?branch=master 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

Contents:

Indices and tables