Skip to main content

Object annotation mechanism

Project description

zope.annotation README

Latest Version https://github.com/zopefoundation/zope.annotation/actions/workflows/tests.yml/badge.svg Documentation Status

This package provides a mechanism to store additional information about objects without need to modify object class.

Changes

6.0 (2025-09-12)

  • Replace pkg_resources namespace with PEP 420 native namespace.

5.2 (2025-08-06)

  • Add support for Python 3.12, 3.13.

  • Drop support for Python 3.7, 3.8.

5.1 (2025-02-13)

  • Add support for Python 3.12, 3.13.

  • Drop support for Python 3.7, 3.8.

5.0 (2023-03-27)

  • Add support for Python 3.11.

  • Drop support for Python 2.7, 3.5, 3.6.

4.8 (2022-09-06)

  • Add support for Python 3.8, 3.9, 3.10.

  • Drop support for Python 3.4.

4.7.0 (2018-10-16)

  • Add support for Python 3.7 and drop support for Python 3.3.

  • Fix a DeprecationWarning from zope.annotation.attribute. See issue 16.

4.6.0 (2017-09-22)

4.5 (2017-06-03)

  • Drop support for Python 2.6.

  • Claim support for Python 3.5 and 3.6.

  • Reach 100% test coverage.

  • AttributeAnnotations is now always a collections.MutableMapping. Previously on Python 2 it was a UserDict.DictMixin.

4.4.1 (2015-01-09)

  • Convert doctests to Sphinx documentation. Doctest snippets are still tested via tox -e docs.

4.4.0 (2015-01-09)

  • LP #98462: add additional “iterable mapping” methods to IAnnotations.

  • LP #878265:

    • Make persistent (used only for doctests) a soft dependency, installable via the zope.annotation[btree] extra.

    • Make BTrees (used for attribute storage) a soft dependency, installable via the zope.annotation[btree] extra. Fall back to using dict for attribute storage if BTrees is not importable.

4.3.0 (2014-12-26)

  • Add support for Python 3.4.

4.2.0 (2013-03-18)

  • Don’t make AttributeAnnotations available as a view.

4.1.0 (2013-02-24)

  • Add __bool__ method to IAnnotations API for Python 3 compatibility.

4.0.1 (2013-02-11)

  • Add tox.ini.

4.0.0 (2013-02-11)

  • Add support for Python 3.3 and PyPy.

  • Replace deprecated zope.component.adapts usage with equivalent zope.component.adapter decorator.

  • Replace deprecated zope.interface.implements usage with equivalent zope.interface.implementer decorator.

  • Drop support for Python 2.4 and 2.5.

  • Include zcml dependencies in configure.zcml, require the necessary packages via a zcml extra, added tests for zcml.

3.5.0 (2009-09-07)

  • Add ZODB3 to install_requires, because it’s a true requirement of this package, not just a testing requirement, as BTrees are in use.

  • Fix one test that was inactive because it’s function was overriden by a mistake.

3.4.2 (2009-03-09)

  • Clean up package description and documentation a bit.

  • Change mailing list address to zope-dev at zope.org, as zope3-dev at zope.org is now retired.

  • Remove old zpkg-related files.

3.4.1 (2008-08-26)

3.4.0 (2007-08-29)

  • Annotation factories are no longer containing the factored object. Instead the objects are located using zope.location. This removes a dependency to zope.app.container.

Download files

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

Source Distribution

zope_annotation-6.0.tar.gz (24.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zope_annotation-6.0-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file zope_annotation-6.0.tar.gz.

File metadata

  • Download URL: zope_annotation-6.0.tar.gz
  • Upload date:
  • Size: 24.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for zope_annotation-6.0.tar.gz
Algorithm Hash digest
SHA256 ad44c641811d4a9fdfebd3d6839840032b4b84c4c052cda6911febc981101e53
MD5 564fdadb0089a7848e860196066d5f83
BLAKE2b-256 b631883e582fd8f85cc201ed027ae85f1e5a3c5b62052084a9010a01a1a362df

See more details on using hashes here.

File details

Details for the file zope_annotation-6.0-py3-none-any.whl.

File metadata

  • Download URL: zope_annotation-6.0-py3-none-any.whl
  • Upload date:
  • Size: 13.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for zope_annotation-6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cf7343602307e0edf31b2722e5d5da39ada49dc59104f013ad69cb6cf1005164
MD5 bdb9ee653bd05ea26b38b08ea3d58012
BLAKE2b-256 d51d6c9cc56a9ab110317fc38a48f430654a07459a4336fd25e5f953f6661ed5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page