Metadata-Version: 2.1
Name: zope.dublincore
Version: 5.0
Summary: Zope Dublin Core implementation
Home-page: http://github.com/zopefoundation/zope.dublincore
Author: Zope Foundation and Contributors
Author-email: zope-dev@zope.dev
License: ZPL 2.1
Keywords: metadata dublincore
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Zope Public License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Software Development
Requires-Python: >=3.7
License-File: LICENSE.txt
Requires-Dist: persistent
Requires-Dist: pytz
Requires-Dist: setuptools
Requires-Dist: zope.annotation
Requires-Dist: zope.component[zcml]
Requires-Dist: zope.datetime
Requires-Dist: zope.interface
Requires-Dist: zope.lifecycleevent
Requires-Dist: zope.location
Requires-Dist: zope.schema
Requires-Dist: zope.security[zcml]>=3.8
Provides-Extra: testing
Requires-Dist: zope.testing>=3.8; extra == "testing"
Requires-Dist: zope.testrunner; extra == "testing"
Requires-Dist: zope.configuration; extra == "testing"
Requires-Dist: BTrees; extra == "testing"
Provides-Extra: test
Requires-Dist: zope.testing>=3.8; extra == "test"
Requires-Dist: zope.testrunner; extra == "test"
Requires-Dist: zope.configuration; extra == "test"
Requires-Dist: BTrees; extra == "test"
Requires-Dist: zope.publisher; extra == "test"
Provides-Extra: docs
Requires-Dist: Sphinx; extra == "docs"
Requires-Dist: repoze.sphinx.autointerface; extra == "docs"
Requires-Dist: zope.testing; extra == "docs"

``zope.dublincore``
===================

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

.. image:: https://readthedocs.org/projects/zopedublincore/badge/?version=latest
   :target: http://zopedublincore.readthedocs.org/en/latest/
   :alt: Documentation Status

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

.. image:: https://img.shields.io/pypi/pyversions/zope.dublincore.svg
   :target: https://pypi.org/project/zope.dublincore/
   :alt: Supported Python versions

.. image:: https://coveralls.io/repos/github/zopefoundation/zope.dublincore/badge.svg?branch=master
   :target: https://coveralls.io/github/zopefoundation/zope.dublincore?branch=master
   :alt: Code Coverage


This package provides a Dublin Core support for Zope-based web
applications.  This includes:

* an ``IZopeDublinCore`` interface definition that can be implemented
  by objects directly or via an adapter to support DublinCore
  metadata.

* an ``IZopeDublinCore`` adapter for annotatable objects (objects
  providing ``IAnnotatable`` from ``zope.annotation``).

* a partial adapter for objects that already implement some of the
  ``IZopeDublinCore`` API,

* a "Metadata" browser page (which by default appears in the ZMI),

* subscribers to various object lifecycle events that automatically
  set the created and modified date and some other metadata.

Complete documentation is hosted at https://zopedublincore.readthedocs.io/




Changes
=======

5.0 (2023-07-05)
----------------

- Drop support for Python 2.7, 3.5, 3.6.

- Add back support for Python 3.5.

- Add support for Python 3.10, 3.11.


4.3.0 (2020-10-14)
------------------

- Port ``.browser`` sub-package to Python 3.

- Add support for Python 3.7, 3.8 and 3.9.

- Drop support for running the tests using ``python setup.py test``.

- Drop support for Python 3.4 and 3.5.


4.2.0 (2017-07-25)
------------------

- Add support for Python 3.5 and 3.6.

- Drop support for Python 2.6 and 3.3.

- Convert doctests to Sphinx, including building docs and testing doctest
  snippets under ``tox``.


4.1.1 (2014-01-10)
------------------

- Add explicit dependency on ``persistent`` (required but not declared).

- Add explicit dependency on ``zope.annotation`` (required but not declared).


4.1.0 (2014-12-26)
------------------

- Add support for PyPy. (PyPy3 is pending release of a fix for:
  https://bitbucket.org/pypy/pypy/issue/1946)

- Add support for Python 3.4.


4.0.1 (2014-12-20)
------------------

- Add support for testing on Travis-CI.


4.0.0 (2013-02-20)
------------------

- Add support for Python 3.3.

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


3.8.2 (2010-02-19)
------------------

- Update <DATETIME> regex normalizer to guard against test failure when
  a datetime's microseconds value is zero.


3.8.1 (2010-12-14)
------------------

- Add missing test dependency on zope.configuration and missing dependency
  of security.zcml on zope.security's meta.zcml.


3.8.0 (2010-09-14)
------------------

- Register the annotators also for (object, event), so copy-pasting a
  folder, changes the dublin core data of the contained objects, too. The
  changed annotators are the following:

  - ``zope.dublincore.timeannotators.ModifiedAnnotator``
  - ``zope.dublincore.timeannotators.CreatedAnnotator``
  - ``zope.dublincore.creatorannotator.CreatorAnnotator``


3.7.0 (2010-08-19)
------------------

- Remove backward-compatibility shims for deprecated ``zope.app.dublincore.*``
  permissions.

- Remove include the zcml configuration of ``zope.dublincore.browser``.

- Use python`s doctest instead of deprecated ``zope.testing.doctest``.


3.6.3 (2010-04-23)
------------------

- Restore backward-compatible ``zope.app.dublincore.*`` permissions,
  mapping them onto the new permissions using the ``<meta:redefinePermission>``
  directive.  These shims will be removed in 3.7.0.

- Add unit (not functional) test for loadability of ``configure.zcml``.


3.6.2 (2010-04-20)
------------------

- Repair regression introduced in 3.6.1:  the renamed permissions were
  not updated in other ZCML files.


3.6.1 (2010-04-19)
------------------

- Rename the ``zope.app.dublincore.*`` permissions to
  ``zope.dublincore.*``.  Applications may need to fix up grants based on the
  old permissions.

- Add tests for ``zope.dublincore.timeannotators``.

- Add not declared dependency on ``zope.lifecycleevent``.


3.6.0 (2009-12-02)
------------------

- Remove the marker interface IZopeDublinCoreAnnotatable which doesn't seem
  to be used.

- Make the registration of ZDCAnnotatableAdapter conditional, lifting the
  dependency on zope.annotation and thereby the ZODB, leaving it as a test
  dependency.


3.5.0 (2009-09-15)
------------------

- Add missing dependencies.

- Get rid of any testing dependencies beyond zope.testing.

- Include browser ZCML configuration only if zope.browserpage is installed.

- Specify i18n domain in package's ``configure.zcml``, because we use message
  IDs for permission titles.

- Remove unused imports, fix one test that was inactive because of being
  overriden by another one by a mistake.


3.4.2 (2009-01-31)
------------------

- Declare dependency on zope.datetime.


3.4.1 (2009-01-26)
------------------

- Test dependencies are declared in a `test` extra now.

- Fix: Make CreatorAnnotator not to fail if participation principal is None


3.4.0 (2007-09-28)
------------------

No further changes since 3.4.0a1.


3.4.0a1 (2007-04-22)
--------------------

Initial release as a separate project, corresponds to zope.dublincore
from Zope 3.4.0a1


