Products.PluginRegistry


NameProducts.PluginRegistry JSON
Version 2.0 PyPI version JSON
download
home_pagehttps://github.com/zopefoundation/Products.PluginRegistry
SummaryConfigure application plugins based on interfaces
upload_time2023-02-01 08:07:15
maintainer
docs_urlNone
authorZope Foundation and Contributors
requires_python>=3.7
licenseZPL 2.1
keywords web application server zope zope2
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            .. image:: https://github.com/zopefoundation/Products.PluginRegistry/actions/workflows/tests.yml/badge.svg
        :target: https://github.com/zopefoundation/Products.PluginRegistry/actions/workflows/tests.yml

.. image:: https://coveralls.io/repos/github/zopefoundation/Products.PluginRegistry/badge.svg
        :target: https://coveralls.io/github/zopefoundation/Products.PluginRegistry

.. image:: https://img.shields.io/pypi/v/Products.PluginRegistry.svg
        :target: https://pypi.org/project/Products.PluginRegistry/
        :alt: Current version on PyPI

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

Products.PluginRegistry
=======================

Products.PluginRegistry offers a simple persistent registry which allows
the site manager to register components for specific interfaces, and
to order them.

Installation
------------

The normal way it install this package is via ``setuptools``, either
via ``easy_install`` into a virtual environment::

  $ cd /path/to/virtualenv
  $ bin/easy_install Products.PluginRegistry

or by including the package in the configuration for a ``zc.buildout``-based
deployment::

  $ cd /path/to/buildout
  $ grep "eggs =" buildout.cfg
  ...
  eggs = Products.PluginRegistry
  ...

The product can also be installed as a dependency of another distribution.

To install this package manually, without using setuptools,
untar the package file downloaded from the PyPI site and look for
the folder named "PluginRegistry" underneath the "Products" folder
at the root of the extracted tarball. Copy or link this "PluginRegistry"
folder into your Zope "Products" folder and restart Zope.


Change Log
==========

2.0 (2023-02-01)
----------------

- Drop support for Python 2.7, 3.5, 3.6.


1.11 (2022-12-16)
-----------------

- Fix insidious buildout configuration bug for tests against Zope 4.

- Add support for Python 3.11.


1.10 (2022-07-13)
-----------------


- Add support for Python 3.10

1.9 (2021-03-19)
----------------

- add support for Python 3.9

- change package structure to move package code into a ``src`` subfolder


1.8 (2019-10-12)
----------------

- Rely on Zope 4 branch for unit tests to retain Python 2 compatibility

- Add ``movePluginsTop`` method to registry.

- Fix linting.


1.7 (2019-04-02)
----------------

- updated ZMI views and icon for Zope 4
  (`#14 <https://github.com/zopefoundation/Products.PluginRegistry/issues/14>`_)

- expanded PEP-8 and isort compliance

- Specify supported Python versions using ``python_requires`` in setup.py

- Added support for Python 3.7 and 3.8

- Fix relative import that broke import/export
  (`#12 <https://github.com/zopefoundation/Products.PluginRegistry/pull/12>`_)


1.6.1 (2018-11-08)
------------------

- Fix listPluginTypeInfo in Python 3.


1.6 (2018-05-17)
----------------

- Add Python 3.5 and 3.6 compatibility.

- Require Zope 4.0b4 as minimum supported Zope version.


1.5 (2017-05-04)
----------------

Breaking changes:

- Drop support for Python 2.6.

- Require Zope 4.0a3 as minimum supported Zope version.


1.4 (2016-03-01)
----------------

- Fix usage of os.path.split(). Could result in Errors during import
  on Windows.


1.3 (2012-02-27)
----------------

- Change default encoding for importexport from None to utf-8.


1.3b1 (2010-07-01)
------------------

- Improved test coverage.

- Removed dependency on ``zope.app.testing``.

- Dropped support for use with  Zope < 2.12.

- Added a buildout for running tests.


1.2 (2009-11-15)
----------------

- Moved documentation out of the product directory.

- Fixed plugin management links on the Active screen.

- Fixed deprecation warnings for use of Globals.

- Purged old Zope2 interfaces for Zope 2.12 compatibility.

- Updated GenericSetup import to initialize plugin registry's ``_plugins``
  attribute if necessary.


1.1.3 (2007-11-28)
------------------

- Fixed bad behaviour when moving the top plugin up.
  https://bugs.launchpad.net/bugs/164717


1.1.2 (2007-04-24)
------------------

- Updated ``PluginRegistry.listPlugins`` to drop previously-activated
  plugins when they no longer implement the plugin interface.
  https://bugs.launchpad.net/zope-pas/+bug/161281

- Updated ``exportimport`` to skip adding duplicate interfaces during
  non-purge imports.
  https://bugs.launchpad.net/zope-pas/+bug/161280

- Fixed test breakage on Zope 2.10.


1.1.1 (2006-07-25)
------------------

- Added workaround for autogen factories which assume they can
  pass an ID to the registry's ``__init__``.  In particular, this
  allows the registry to be created and popluated as a "normal"
  content object using GenericSetup.

- Improved BBB for testing under Zope 2.8.


1.1 (2006-02-25)
----------------

- Moved interfaces into a top-level module (no need for a package),
  and made them forward-compatible with Z3 interfaces.

- Wired in DAV / FTP / ExternalEditor support for the registry,
  along with a ZMI form for updating it as XML.

- Added support for exporting / importing the registry via GenericSetup.

- Moved from CVS to subversion (2005-10-14).

- Removed deprecation warings under Zope 2.8.x.

- Repaired warings appearing in Zope 2.8.5 due to a couple typos
  in security declarations.


1.0.2 (2005-01-31)
------------------

- Simplified package directory computation using ``package_home``.

- Added ``test_suite`` to registry tests to improve testability under
  ``zopectl test``.


1.0.1 (2004-04-28)
------------------

- Initial public release.


1.0 (2004-04-28)
----------------

- Vendor import from ZC repository.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/zopefoundation/Products.PluginRegistry",
    "name": "Products.PluginRegistry",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "web application server zope zope2",
    "author": "Zope Foundation and Contributors",
    "author_email": "zope-dev@zope.dev",
    "download_url": "https://files.pythonhosted.org/packages/64/6c/96ba587dd493eb3b858de6cf3ade0d027f21d3d7d8daa7193055dd022a74/Products.PluginRegistry-2.0.tar.gz",
    "platform": null,
    "description": ".. image:: https://github.com/zopefoundation/Products.PluginRegistry/actions/workflows/tests.yml/badge.svg\n        :target: https://github.com/zopefoundation/Products.PluginRegistry/actions/workflows/tests.yml\n\n.. image:: https://coveralls.io/repos/github/zopefoundation/Products.PluginRegistry/badge.svg\n        :target: https://coveralls.io/github/zopefoundation/Products.PluginRegistry\n\n.. image:: https://img.shields.io/pypi/v/Products.PluginRegistry.svg\n        :target: https://pypi.org/project/Products.PluginRegistry/\n        :alt: Current version on PyPI\n\n.. image:: https://img.shields.io/pypi/pyversions/Products.PluginRegistry.svg\n        :target: https://pypi.org/project/Products.PluginRegistry/\n        :alt: Supported Python versions\n\nProducts.PluginRegistry\n=======================\n\nProducts.PluginRegistry offers a simple persistent registry which allows\nthe site manager to register components for specific interfaces, and\nto order them.\n\nInstallation\n------------\n\nThe normal way it install this package is via ``setuptools``, either\nvia ``easy_install`` into a virtual environment::\n\n  $ cd /path/to/virtualenv\n  $ bin/easy_install Products.PluginRegistry\n\nor by including the package in the configuration for a ``zc.buildout``-based\ndeployment::\n\n  $ cd /path/to/buildout\n  $ grep \"eggs =\" buildout.cfg\n  ...\n  eggs = Products.PluginRegistry\n  ...\n\nThe product can also be installed as a dependency of another distribution.\n\nTo install this package manually, without using setuptools,\nuntar the package file downloaded from the PyPI site and look for\nthe folder named \"PluginRegistry\" underneath the \"Products\" folder\nat the root of the extracted tarball. Copy or link this \"PluginRegistry\"\nfolder into your Zope \"Products\" folder and restart Zope.\n\n\nChange Log\n==========\n\n2.0 (2023-02-01)\n----------------\n\n- Drop support for Python 2.7, 3.5, 3.6.\n\n\n1.11 (2022-12-16)\n-----------------\n\n- Fix insidious buildout configuration bug for tests against Zope 4.\n\n- Add support for Python 3.11.\n\n\n1.10 (2022-07-13)\n-----------------\n\n\n- Add support for Python 3.10\n\n1.9 (2021-03-19)\n----------------\n\n- add support for Python 3.9\n\n- change package structure to move package code into a ``src`` subfolder\n\n\n1.8 (2019-10-12)\n----------------\n\n- Rely on Zope 4 branch for unit tests to retain Python 2 compatibility\n\n- Add ``movePluginsTop`` method to registry.\n\n- Fix linting.\n\n\n1.7 (2019-04-02)\n----------------\n\n- updated ZMI views and icon for Zope 4\n  (`#14 <https://github.com/zopefoundation/Products.PluginRegistry/issues/14>`_)\n\n- expanded PEP-8 and isort compliance\n\n- Specify supported Python versions using ``python_requires`` in setup.py\n\n- Added support for Python 3.7 and 3.8\n\n- Fix relative import that broke import/export\n  (`#12 <https://github.com/zopefoundation/Products.PluginRegistry/pull/12>`_)\n\n\n1.6.1 (2018-11-08)\n------------------\n\n- Fix listPluginTypeInfo in Python 3.\n\n\n1.6 (2018-05-17)\n----------------\n\n- Add Python 3.5 and 3.6 compatibility.\n\n- Require Zope 4.0b4 as minimum supported Zope version.\n\n\n1.5 (2017-05-04)\n----------------\n\nBreaking changes:\n\n- Drop support for Python 2.6.\n\n- Require Zope 4.0a3 as minimum supported Zope version.\n\n\n1.4 (2016-03-01)\n----------------\n\n- Fix usage of os.path.split(). Could result in Errors during import\n  on Windows.\n\n\n1.3 (2012-02-27)\n----------------\n\n- Change default encoding for importexport from None to utf-8.\n\n\n1.3b1 (2010-07-01)\n------------------\n\n- Improved test coverage.\n\n- Removed dependency on ``zope.app.testing``.\n\n- Dropped support for use with  Zope < 2.12.\n\n- Added a buildout for running tests.\n\n\n1.2 (2009-11-15)\n----------------\n\n- Moved documentation out of the product directory.\n\n- Fixed plugin management links on the Active screen.\n\n- Fixed deprecation warnings for use of Globals.\n\n- Purged old Zope2 interfaces for Zope 2.12 compatibility.\n\n- Updated GenericSetup import to initialize plugin registry's ``_plugins``\n  attribute if necessary.\n\n\n1.1.3 (2007-11-28)\n------------------\n\n- Fixed bad behaviour when moving the top plugin up.\n  https://bugs.launchpad.net/bugs/164717\n\n\n1.1.2 (2007-04-24)\n------------------\n\n- Updated ``PluginRegistry.listPlugins`` to drop previously-activated\n  plugins when they no longer implement the plugin interface.\n  https://bugs.launchpad.net/zope-pas/+bug/161281\n\n- Updated ``exportimport`` to skip adding duplicate interfaces during\n  non-purge imports.\n  https://bugs.launchpad.net/zope-pas/+bug/161280\n\n- Fixed test breakage on Zope 2.10.\n\n\n1.1.1 (2006-07-25)\n------------------\n\n- Added workaround for autogen factories which assume they can\n  pass an ID to the registry's ``__init__``.  In particular, this\n  allows the registry to be created and popluated as a \"normal\"\n  content object using GenericSetup.\n\n- Improved BBB for testing under Zope 2.8.\n\n\n1.1 (2006-02-25)\n----------------\n\n- Moved interfaces into a top-level module (no need for a package),\n  and made them forward-compatible with Z3 interfaces.\n\n- Wired in DAV / FTP / ExternalEditor support for the registry,\n  along with a ZMI form for updating it as XML.\n\n- Added support for exporting / importing the registry via GenericSetup.\n\n- Moved from CVS to subversion (2005-10-14).\n\n- Removed deprecation warings under Zope 2.8.x.\n\n- Repaired warings appearing in Zope 2.8.5 due to a couple typos\n  in security declarations.\n\n\n1.0.2 (2005-01-31)\n------------------\n\n- Simplified package directory computation using ``package_home``.\n\n- Added ``test_suite`` to registry tests to improve testability under\n  ``zopectl test``.\n\n\n1.0.1 (2004-04-28)\n------------------\n\n- Initial public release.\n\n\n1.0 (2004-04-28)\n----------------\n\n- Vendor import from ZC repository.\n",
    "bugtrack_url": null,
    "license": "ZPL 2.1",
    "summary": "Configure application plugins based on interfaces",
    "version": "2.0",
    "split_keywords": [
        "web",
        "application",
        "server",
        "zope",
        "zope2"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0dc598a8a34c4b3048993aa650b960ddb397bb3fd5582d5307e114ae195d99d4",
                "md5": "78ee80f0ba0412578bdf7b8bc4284c49",
                "sha256": "d50a2e6327062a6fa5502268ec47e6fcd111ddf754f17232e6922675373cd456"
            },
            "downloads": -1,
            "filename": "Products.PluginRegistry-2.0-py3-none-any.whl",
            "has_sig": true,
            "md5_digest": "78ee80f0ba0412578bdf7b8bc4284c49",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 27335,
            "upload_time": "2023-02-01T08:07:13",
            "upload_time_iso_8601": "2023-02-01T08:07:13.077063Z",
            "url": "https://files.pythonhosted.org/packages/0d/c5/98a8a34c4b3048993aa650b960ddb397bb3fd5582d5307e114ae195d99d4/Products.PluginRegistry-2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "646c96ba587dd493eb3b858de6cf3ade0d027f21d3d7d8daa7193055dd022a74",
                "md5": "420a87e90f07e5a6f2a587a0c1fd1d38",
                "sha256": "7f7394c3ed7f40731133face0bc45f166875f3abb4fe832b46be983d9adf38a9"
            },
            "downloads": -1,
            "filename": "Products.PluginRegistry-2.0.tar.gz",
            "has_sig": true,
            "md5_digest": "420a87e90f07e5a6f2a587a0c1fd1d38",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 23507,
            "upload_time": "2023-02-01T08:07:15",
            "upload_time_iso_8601": "2023-02-01T08:07:15.310905Z",
            "url": "https://files.pythonhosted.org/packages/64/6c/96ba587dd493eb3b858de6cf3ade0d027f21d3d7d8daa7193055dd022a74/Products.PluginRegistry-2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-02-01 08:07:15",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "zopefoundation",
    "github_project": "Products.PluginRegistry",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "products.pluginregistry"
}
        
Elapsed time: 0.05906s