{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/15"},{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/6"}],"enrichment":{"capability":"Provides a standard interface and adapter for retrieving object sizes, with a fallback to 'not available' when the object lacks a getSize method.","skillfed_tags":["zope-ecosystem","interface-adapter"],"use_cases":["Display object sizes in web applications or admin interfaces without custom size-retrieval logic.","Sort collections of objects by their size using a standardized interface.","Provide a consistent interface for third-party libraries to query object sizes in Zope-based systems.","Adapt legacy objects to expose size information through a common interface."],"what_it_does":"zope.size defines a simple interface (ISized) that applications can use to retrieve the size of objects in bytes, typically for display or sorting purposes. It provides a default adapter that expects objects to implement a getSize() method returning bytes; if the method is absent, the adapter gracefully returns 'not available' rather than crashing.\n\nThe package is part of the Zope ecosystem and is designed as a lightweight utility for standardizing how object sizes are exposed across applications. It depends on zope.interface for interface definitions and zope.i18nmessageid for internationalization support. The package is stable and actively maintained for current Python versions (3.9, 3.10, 3.11, 3.12, 3.13), though releases are infrequent.","worth_installing":"Yes, if you are working within the Zope ecosystem or need a lightweight, stable interface for object sizing. The package has no known vulnerabilities, low install friction, and current Python support. However, verify that ZPL-2.1 is compatible with your project's license requirements before committing, and note that the aging maintenance status means updates are infrequent."},"id":"zope-size","links":{"html":"https://skillfed.io/packages/zope-size","md":"https://skillfed.io/packages/zope-size.md","pypi":"https://pypi.org/project/zope-size/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-09-12","license_spdx":null,"license_treatment":"unclear","name":"zope.size","python_support":"supports_current","summary":"Interfaces and simple adapter that give the size of an object"},"popularity":{"monthly_downloads":148174,"position":11042,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"6.0"}
