Metadata-Version: 2.1
Name: zope.lifecycleevent
Version: 4.4
Summary: Object life-cycle events
Home-page: http://github.com/zopefoundation/zope.lifecycleevent
Author: Zope Foundation and Contributors
Author-email: zope-dev@zope.org
License: ZPL 2.1
Keywords: event lifecycle zope component interface flexible
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Zope Public License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
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 :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Operating System :: OS Independent
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Software Development
License-File: LICENSE.txt
Requires-Dist: setuptools
Requires-Dist: zope.interface
Requires-Dist: zope.event
Provides-Extra: docs
Requires-Dist: repoze.sphinx.autointerface ; extra == 'docs'
Requires-Dist: sphinx-rtd-theme ; extra == 'docs'
Provides-Extra: test
Requires-Dist: zope.component ; extra == 'test'
Requires-Dist: zope.configuration ; extra == 'test'
Requires-Dist: zope.testing ; extra == 'test'
Requires-Dist: zope.testrunner ; extra == 'test'

=========================
 ``zope.lifecycleevent``
=========================

.. image:: https://github.com/zopefoundation/zope.lifecycleevent/actions/workflows/tests.yml/badge.svg
        :target: https://github.com/zopefoundation/zope.lifecycleevent/actions/workflows/tests.yml
        :alt: Build Status

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

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


Overview
========

In a loosely-coupled system, events can be used by parts of the system
to `inform each other`_ about relevant occurrences. The `zope.event`_
package (optionally together with `zope.interface`_ and
`zope.component`_) provides a generic mechanism to dispatch objects
representing those events to interested subscribers (e.g., functions).
This package defines a specific set of event objects and API functions
for describing the life-cycle of objects in the system: object
creation, object modification, and object removal.

.. _inform each other: https://zopeevent.readthedocs.io/en/latest/api.html#zope.event.notify
.. _zope.event: https://zopeevent.readthedocs.io/en/latest/
.. _zope.component: https://zopecomponent.readthedocs.io/en/latest/
.. _zope.interface: https://zopeinterface.readthedocs.io/en/latest/

Documentation is hosted at https://zopelifecycleevent.readthedocs.io


=========
 Changes
=========

4.4 (2022-05-09)
================

- Add support for Python 3.8, 3,9, 3.10.

- Drop support for Python 3.4.


4.3 (2018-10-05)
================

- Add support for Python 3.7.


4.2.0 (2017-07-12)
==================

- Add support for Python 3.5 and 3.6.

- Drop support for Python 2.6 and 3.3.

- Documentation is hosted at https://zopelifecycleevent.readthedocs.io

4.1.0 (2014-12-27)
==================

- Add support for PyPy3.

- Add support for Python 3.4.


4.0.3 (2013-09-12)
==================

- Drop the dependency on ``zope.component`` as the interface and
  implementation of ``ObjectEvent`` is now in ``zope.interface``.
  Retained the dependency for the tests.

- Fix: ``.moved`` tried to notify the wrong event.


4.0.2 (2013-03-08)
==================

- Add Trove classifiers indicating CPython and PyPy support.


4.0.1 (2013-02-11)
==================

- Add `tox.ini`.


4.0.0 (2013-02-11)
==================

- Test coverage at 100%.

- Add support for Python 3.3 and PyPy.

- Replace deprecated ``zope.interface.implements`` usage with equivalent
  ``zope.interface.implementer`` decorator.

- Drop support for Python 2.4 and 2.5.


3.7.0 (2011-03-17)
==================

- Add convenience functions to parallel ``zope.lifecycleevent.modified``
  for the other events defined in this package.


3.6.2 (2010-09-25)
==================

- Add not declared, but needed test dependency on ``zope.component [test]``.

3.6.1 (2010-04-30)
==================

- Remove dependency on undeclared ``zope.testing.doctest``.

3.6.0 (2009-12-29)
==================

- Refactor tests to lose ``zope.annotation`` and ``zope.dublincore`` as
  dependencies.

3.5.2 (2009-05-17)
==================

- Copy ``IObjectMovedEvent``, ``IObjectAddedEvent``,
  ``IObjectRemovedEvent`` interfaces and ``ObjectMovedEvent``,
  ``ObjectAddedEvent`` and ``ObjectRemovedEvent`` classes here
  from ``zope.container`` (plus tests).  The intent is to allow packages
  that rely on these interfaces or the event classes to rely on
  ``zope.lifecycleevent`` (which has few dependencies) instead of
  ``zope.container`` (which has many).

3.5.1 (2009-03-09)
==================

- Remove deprecated code and therefore dependency on ``zope.deferredimport``.

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

- Update package's description and documentation.

3.5.0 (2009-01-31)
==================

- Remove old module declarations from classes.

- Use ``zope.container`` instead of ``zope.app.container``.

3.4.0 (2007-09-01)
==================

Initial release as an independent package


