$npx skillfedfor your agent

zope.size

Interfaces and simple adapter that give the size of an object

With conditionsPyPI Software DevelopmentReleased Sep 2025148.2K downloads / moZPL-2.1Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — zope_size-6.0-py3-none-any.whl
v6.0 · released 2025-09-12 · Python >=3.9 · 3 runtime deps: setuptools, zope.interface, zope.i18nmessageid

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.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later; zope.interface and zope.i18nmessageid must be available at runtime.
  • Low install friction with a pure-wheel distribution.
  • Maintenance status is aging—last release was 336 days ago—but the package remains in production/stable state with active repository and current Python version support.

License · maintenance · safety

ZPL-2.1 (unclear) — Licensed under ZPL-2.1 (Zope Public License 2.1), which is OSI-approved but marked as unclear in treatment. Verify compatibility with your project's license policy before adopting.

last release 2025-09-12 (336 days) · last repo commit 2025-09-12 · 2 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 148,174 downloads/mo, #11,042 on PyPI

Verify before relying

pip install zope.size

from zope.size import ISized
from zope.interface import implementer

@implementer(ISized)
class MyObject:
    def getSize(self):
        return size in bytes
  • Whether ZPL-2.1 license is compatible with common project licenses (GPL, MIT, Apache 2.0, etc.)
  • Real-world usage patterns and adoption outside the Zope ecosystem
  • Concrete example values for getSize() return to illustrate typical usage
Same gist for agents: .md · .json

What it is and 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.

The 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.

Use it for

  • 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.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

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.

Install

zope-size on PyPI

Before you install

Low install friction with a pure-wheel distribution. Maintenance status is aging—last release was 336 days ago—but the package remains in production/stable state with active repository and current Python version support.

Requires Python 3.9 or later; zope.interface and zope.i18nmessageid must be available at runtime.

License in practice

Licensed under ZPL-2.1 (Zope Public License 2.1), which is OSI-approved but marked as unclear in treatment. Verify compatibility with your project's license policy before adopting.

Quickstart

pip install zope.size

from zope.size import ISized
from zope.interface import implementer

@implementer(ISized)
class MyObject:
    def getSize(self):
        return size in bytes

Verify before relying

  • Whether ZPL-2.1 license is compatible with common project licenses (GPL, MIT, Apache 2.0, etc.)
  • Real-world usage patterns and adoption outside the Zope ecosystem
  • Concrete example values for getSize() return to illustrate typical usage

Package facts

LicenseZPL-2.1 unclear
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
setuptoolszope.interfacezope.i18nmessageid
MaintenanceAging 336 days since the last release
Last repo commit
First released
Downloads148,174 / month, #11,042 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Zope Public LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Internet :: WWW/HTTPTopic :: Software Development

Evidence: zope_size-6.0-py3-none-any.whl

Tags

Capabilities
object size interfaceget object size byteszope size adapterobject size displaysize sorting interface
Topics
zope-ecosysteminterface-adapter
PyPI keywords
sizedisplayhumanbytes

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “object size interface”

  • zope.sizeProvides a standard interface and adapter for retrieving object…
  • s3pathlibs3pathlib provides a pathlib-like object-oriented interface to AWS…
  • objsizeMeasures the complete memory footprint of Python objects including…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also zope.component · zope.globalrequest · zope.filerepresentation · zope.traversing · zope.container · zope.configuration · zope.exceptions · zope.annotation · zope.dottedname · zope.deferredimport