zope.annotation


Namezope.annotation JSON
Version 5.0 PyPI version JSON
download
home_pagehttps://github.com/zopefoundation/zope.annotation
SummaryObject annotation mechanism
upload_time2023-03-27 08:37:40
maintainer
docs_urlNone
authorZope Foundation and Contributors
requires_python>=3.7
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
=========

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": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "zope annotation ZODB zope3 ztk",
    "author": "Zope Foundation and Contributors",
    "author_email": "zope-dev@zope.org",
    "download_url": "https://files.pythonhosted.org/packages/0a/7b/5285072d9a99724b86cb4c8783dd624c192966c3d231ed5722ad5869a4d5/zope.annotation-5.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\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": "5.0",
    "split_keywords": [
        "zope",
        "annotation",
        "zodb",
        "zope3",
        "ztk"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a91fa0540cb8d297f835ee1afaa32ee9065ae0555fefe6264a2483f8069276bc",
                "md5": "e9fb7c8c3923526faca2a2ffb2e46bb3",
                "sha256": "d9bf817efcc2b63a1643bb632d6350e61caf5dd731eb1972cd01e97e2eb4e12b"
            },
            "downloads": -1,
            "filename": "zope.annotation-5.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e9fb7c8c3923526faca2a2ffb2e46bb3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 14138,
            "upload_time": "2023-03-27T08:37:39",
            "upload_time_iso_8601": "2023-03-27T08:37:39.029335Z",
            "url": "https://files.pythonhosted.org/packages/a9/1f/a0540cb8d297f835ee1afaa32ee9065ae0555fefe6264a2483f8069276bc/zope.annotation-5.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0a7b5285072d9a99724b86cb4c8783dd624c192966c3d231ed5722ad5869a4d5",
                "md5": "400663fd1cfedbebea1eb27addc9a1e9",
                "sha256": "714c401a9a74f07a6447413a0f10ff2684f2712bd4e5f069ef98c54c42bab42a"
            },
            "downloads": -1,
            "filename": "zope.annotation-5.0.tar.gz",
            "has_sig": false,
            "md5_digest": "400663fd1cfedbebea1eb27addc9a1e9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 23388,
            "upload_time": "2023-03-27T08:37:40",
            "upload_time_iso_8601": "2023-03-27T08:37:40.801966Z",
            "url": "https://files.pythonhosted.org/packages/0a/7b/5285072d9a99724b86cb4c8783dd624c192966c3d231ed5722ad5869a4d5/zope.annotation-5.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-03-27 08:37:40",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "zopefoundation",
    "github_project": "zope.annotation",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "zope.annotation"
}
        
Elapsed time: 0.13613s