$npx skillfedfor your agent

zope.annotation

Object annotation mechanism

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

Decision gist · record as of 2026-08-14

pure-Python wheel — zope_annotation-6.0-py3-none-any.whl
v6.0 · released 2025-09-12 · Python >=3.9 · 5 runtime deps: setuptools, zope.interface, zope.component, zope.location, zope.proxy

Yes, if you are building within the Zope ecosystem or need a clean, non-invasive way to attach metadata to objects in a component-based architecture. The package is stable, actively maintained, and has no known vulnerabilities. The ZPL-2.1 license is OSI-approved but less mainstream; verify it aligns with your project before committing. Install friction is low and dependencies are all from the same ecosystem, so integration is straightforward for Zope-aware projects.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later; integration with Zope component architecture assumes familiarity with zope.interface and zope.component patterns.
  • Low install friction with a pure-Python wheel and five runtime dependencies all from the Zope ecosystem.
  • Actively maintained with recent releases supporting Python 3.9 through 3.13; last commit was 2026-05-13.

License · maintenance · safety

ZPL-2.1 (unclear) — Licensed under ZPL-2.1 (Zope Public License 2.1), which is OSI-approved but less common than MIT or Apache 2.0; verify compatibility with your project's license policy before adopting.

last release 2025-09-12 (336 days) · last repo commit 2026-05-13 · 1 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 150,924 downloads/mo, #10,950 on PyPI

Verify before relying

from zope.annotation.interfaces import IAnnotations
from zope.annotation.attribute import AttributeAnnotations

# Register adapter or use directly
annotations = IAnnotations(your_object)
  • Whether BTrees is automatically installed or only available via optional [btree] extra in version 6.0.
  • Concrete examples of how annotation storage differs between dict and BTrees backends in practice.
  • Performance characteristics when storing large numbers of annotations on a single object.
Same gist for agents: .md · .json

What it is and what it does

zope.annotation provides a framework for attaching arbitrary metadata to objects at runtime without modifying their class definition. It integrates with the Zope component architecture (zope.interface, zope.component, zope.location, zope.proxy) to register and retrieve annotations through a clean adapter-based API. The package is particularly useful in ZODB-backed systems where you need to associate extra data with persistent objects.

The core mechanism uses IAnnotations adapters to store metadata, with AttributeAnnotations providing a dict-like interface for attribute-based storage. The package supports both in-memory dict storage and persistent BTrees storage, falling back gracefully if BTrees is unavailable. It has been actively maintained since 2007 and currently supports Python 3.9 through 3.13.

Use it for

  • Attach domain-specific metadata to ZODB objects without altering their schema or class hierarchy.
  • Store temporary or computed attributes on objects in a Zope application without modifying the persistent object structure.
  • Build plugin systems where different components can independently annotate shared objects with their own metadata.
  • Implement object traversal helpers by storing parent references via __parent__ annotations for upward navigation.
  • Manage object-level configuration or state in frameworks that use zope.component for adaptation.

Worth the install?

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

With conditions

Yes, if you are building within the Zope ecosystem or need a clean, non-invasive way to attach metadata to objects in a component-based architecture.

The package is stable, actively maintained, and has no known vulnerabilities. The ZPL-2.1 license is OSI-approved but less mainstream; verify it aligns with your project before committing. Install friction is low and dependencies are all from the same ecosystem, so integration is straightforward for Zope-aware projects.

Install

zope-annotation on PyPI

Before you install

Low install friction with a pure-Python wheel and five runtime dependencies all from the Zope ecosystem. Actively maintained with recent releases supporting Python 3.9 through 3.13; last commit was 2026-05-13.

Requires Python 3.9 or later; integration with Zope component architecture assumes familiarity with zope.interface and zope.component patterns.

License in practice

Licensed under ZPL-2.1 (Zope Public License 2.1), which is OSI-approved but less common than MIT or Apache 2.0; verify compatibility with your project's license policy before adopting.

Quickstart

from zope.annotation.interfaces import IAnnotations
from zope.annotation.attribute import AttributeAnnotations

# Register adapter or use directly
annotations = IAnnotations(your_object)

Verify before relying

  • Whether BTrees is automatically installed or only available via optional [btree] extra in version 6.0.
  • Concrete examples of how annotation storage differs between dict and BTrees backends in practice.
  • Performance characteristics when storing large numbers of annotations on a single object.

Package facts

LicenseZPL-2.1 unclear
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
5 packages
setuptoolszope.interfacezope.componentzope.locationzope.proxy
MaintenanceActively maintained 336 days since the last release
Last repo commit
First released
Downloads150,924 / month, #10,950 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_annotation-6.0-py3-none-any.whl

Tags

Capabilities
object annotation storageattach metadata to objectszope annotation mechanismnon-invasive object metadatazope component adaptationpersistent object attributesZODB annotation framework
Topics
zope-ecosystemobject-metadataadapter-pattern
PyPI keywords
zopeannotationZODBzope3ztk

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 annotation storage”

  • zope.annotationStores additional metadata on objects without modifying their class,…
  • fiftyone-dbProvides the database backend for FiftyOne, a computer vision…
  • pycocotoolsProvides Python APIs for loading, parsing, and working with the…

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.container · zope.filerepresentation · zope.globalrequest · zope.hookable · zope.lifecycleevent · Persistence · persistent · MultiMapping · zope.location · zope.configuration