zope.annotation


Namezope.annotation JSON
Version 6.0 PyPI version JSON
download
home_pagehttps://github.com/zopefoundation/zope.annotation
SummaryObject annotation mechanism
upload_time2025-09-12 06:37:47
maintainerNone
docs_urlNone
authorZope Foundation and Contributors
requires_python>=3.9
licenseZPL-2.1
keywords zope annotation zodb zope3 ztk
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ``zope.annotation`` README
==========================

.. image:: https://img.shields.io/pypi/v/zope.annotation.svg
    :target: https://pypi.python.org/pypi/zope.annotation/
    :alt: Latest Version

.. image:: https://github.com/zopefoundation/zope.annotation/actions/workflows/tests.yml/badge.svg
        :target: https://github.com/zopefoundation/zope.annotation/actions/workflows/tests.yml

.. image:: https://readthedocs.org/projects/zopeannotation/badge/?version=latest
        :target: http://zopeannotation.readthedocs.org/en/latest/
        :alt: 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 <https://github.com/zopefoundation/zope.annotation/issues/16>`_.

4.6.0 (2017-09-22)
==================

- Make ``AttributeAnnotations`` have a ``__parent__``. The
  ``__parent__`` is the object that it stores ``__annotations__`` on.
  This is a convenience for upwards traversal as used by things like
  ``zope.keyreference``. See
  https://github.com/zopefoundation/zope.annotation/issues/11


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)
==================

- Annotation factories take care not to store proxies in the database,
  so adapting an object wrapped in a ``LocationProxy`` works correctly.
  Fixes https://bugs.launchpad.net/zope3/+bug/261620

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

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/zopefoundation/zope.annotation",
    "name": "zope.annotation",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "zope annotation ZODB zope3 ztk",
    "author": "Zope Foundation and Contributors",
    "author_email": "zope-dev@zope.dev",
    "download_url": "https://files.pythonhosted.org/packages/b6/31/883e582fd8f85cc201ed027ae85f1e5a3c5b62052084a9010a01a1a362df/zope_annotation-6.0.tar.gz",
    "platform": null,
    "description": "``zope.annotation`` README\n==========================\n\n.. image:: https://img.shields.io/pypi/v/zope.annotation.svg\n    :target: https://pypi.python.org/pypi/zope.annotation/\n    :alt: Latest Version\n\n.. image:: https://github.com/zopefoundation/zope.annotation/actions/workflows/tests.yml/badge.svg\n        :target: https://github.com/zopefoundation/zope.annotation/actions/workflows/tests.yml\n\n.. image:: https://readthedocs.org/projects/zopeannotation/badge/?version=latest\n        :target: http://zopeannotation.readthedocs.org/en/latest/\n        :alt: Documentation Status\n\nThis package provides a mechanism to store additional information about\nobjects without need to modify object class.\n\n\n=========\n Changes\n=========\n\n6.0 (2025-09-12)\n================\n\n- Replace ``pkg_resources`` namespace with PEP 420 native namespace.\n\n\n5.2 (2025-08-06)\n================\n\n- Add support for Python 3.12, 3.13.\n\n- Drop support for Python 3.7, 3.8.\n\n\n5.1 (2025-02-13)\n================\n\n- Add support for Python 3.12, 3.13.\n\n- Drop support for Python 3.7, 3.8.\n\n\n5.0 (2023-03-27)\n================\n\n- Add support for Python 3.11.\n\n- Drop support for Python 2.7, 3.5, 3.6.\n\n\n4.8 (2022-09-06)\n================\n\n- Add support for Python 3.8, 3.9, 3.10.\n\n- Drop support for Python 3.4.\n\n\n4.7.0 (2018-10-16)\n==================\n\n- Add support for Python 3.7 and drop support for Python 3.3.\n\n- Fix a DeprecationWarning from ``zope.annotation.attribute``. See\n  `issue 16 <https://github.com/zopefoundation/zope.annotation/issues/16>`_.\n\n4.6.0 (2017-09-22)\n==================\n\n- Make ``AttributeAnnotations`` have a ``__parent__``. The\n  ``__parent__`` is the object that it stores ``__annotations__`` on.\n  This is a convenience for upwards traversal as used by things like\n  ``zope.keyreference``. See\n  https://github.com/zopefoundation/zope.annotation/issues/11\n\n\n4.5 (2017-06-03)\n================\n\n- Drop support for Python 2.6.\n\n- Claim support for Python 3.5 and 3.6.\n\n- Reach 100% test coverage.\n\n- ``AttributeAnnotations`` is now always a\n  ``collections.MutableMapping``. Previously on Python 2 it was a\n  ``UserDict.DictMixin``.\n\n4.4.1 (2015-01-09)\n==================\n\n- Convert doctests to Sphinx documentation.  Doctest snippets are still\n  tested via ``tox -e docs``.\n\n\n4.4.0 (2015-01-09)\n==================\n\n- LP #98462:  add additional \"iterable mapping\" methods to ``IAnnotations``.\n\n- LP #878265:\n\n  - Make ``persistent`` (used only for doctests) a soft dependency,\n    installable via the ``zope.annotation[btree]`` extra.\n\n  - Make ``BTrees`` (used for attribute storage) a soft dependency,\n    installable via the ``zope.annotation[btree]`` extra.  Fall back to\n    using ``dict`` for attribute storage if ``BTrees`` is not importable.\n\n4.3.0 (2014-12-26)\n==================\n\n- Add support for Python 3.4.\n\n4.2.0 (2013-03-18)\n==================\n\n- Don't make AttributeAnnotations available as a view.\n\n4.1.0 (2013-02-24)\n==================\n\n- Add ``__bool__`` method to ``IAnnotations`` API for Python 3 compatibility.\n\n4.0.1 (2013-02-11)\n==================\n\n- Add `tox.ini`.\n\n4.0.0 (2013-02-11)\n==================\n\n- Add support for Python 3.3 and PyPy.\n\n- Replace deprecated ``zope.component.adapts`` usage with equivalent\n  ``zope.component.adapter`` decorator.\n\n- Replace deprecated ``zope.interface.implements`` usage with equivalent\n  ``zope.interface.implementer`` decorator.\n\n- Drop support for Python 2.4 and 2.5.\n\n- Include zcml dependencies in configure.zcml, require the necessary packages\n  via a zcml extra, added tests for zcml.\n\n3.5.0 (2009-09-07)\n==================\n\n- Add ZODB3 to install_requires, because it's a true requirement of this\n  package, not just a testing requirement, as BTrees are in use.\n\n- Fix one test that was inactive because it's function was overriden by\n  a mistake.\n\n3.4.2 (2009-03-09)\n==================\n\n- Clean up package description and documentation a bit.\n\n- Change mailing list address to zope-dev at zope.org, as\n  zope3-dev at zope.org is now retired.\n\n- Remove old zpkg-related files.\n\n3.4.1 (2008-08-26)\n==================\n\n- Annotation factories take care not to store proxies in the database,\n  so adapting an object wrapped in a ``LocationProxy`` works correctly.\n  Fixes https://bugs.launchpad.net/zope3/+bug/261620\n\n3.4.0 (2007-08-29)\n==================\n\n- Annotation factories are no longer containing the factored object.\n  Instead the objects are located using ``zope.location``. This removes\n  a dependency to ``zope.app.container``.\n",
    "bugtrack_url": null,
    "license": "ZPL-2.1",
    "summary": "Object annotation mechanism",
    "version": "6.0",
    "project_urls": {
        "Homepage": "https://github.com/zopefoundation/zope.annotation"
    },
    "split_keywords": [
        "zope",
        "annotation",
        "zodb",
        "zope3",
        "ztk"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "d51d6c9cc56a9ab110317fc38a48f430654a07459a4336fd25e5f953f6661ed5",
                "md5": "bdb9ee653bd05ea26b38b08ea3d58012",
                "sha256": "cf7343602307e0edf31b2722e5d5da39ada49dc59104f013ad69cb6cf1005164"
            },
            "downloads": -1,
            "filename": "zope_annotation-6.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "bdb9ee653bd05ea26b38b08ea3d58012",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 13638,
            "upload_time": "2025-09-12T06:37:46",
            "upload_time_iso_8601": "2025-09-12T06:37:46.122542Z",
            "url": "https://files.pythonhosted.org/packages/d5/1d/6c9cc56a9ab110317fc38a48f430654a07459a4336fd25e5f953f6661ed5/zope_annotation-6.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "b631883e582fd8f85cc201ed027ae85f1e5a3c5b62052084a9010a01a1a362df",
                "md5": "564fdadb0089a7848e860196066d5f83",
                "sha256": "ad44c641811d4a9fdfebd3d6839840032b4b84c4c052cda6911febc981101e53"
            },
            "downloads": -1,
            "filename": "zope_annotation-6.0.tar.gz",
            "has_sig": false,
            "md5_digest": "564fdadb0089a7848e860196066d5f83",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 24766,
            "upload_time": "2025-09-12T06:37:47",
            "upload_time_iso_8601": "2025-09-12T06:37:47.285029Z",
            "url": "https://files.pythonhosted.org/packages/b6/31/883e582fd8f85cc201ed027ae85f1e5a3c5b62052084a9010a01a1a362df/zope_annotation-6.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-09-12 06:37:47",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "zopefoundation",
    "github_project": "zope.annotation",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "zope.annotation"
}
        
Elapsed time: 1.78295s