Skip to main content

Configure application plugins based on interfaces

Project description

https://github.com/zopefoundation/Products.PluginRegistry/actions/workflows/tests.yml/badge.svg https://coveralls.io/repos/github/zopefoundation/Products.PluginRegistry/badge.svg Current version on PyPI 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

3.1 (2025-11-19)

  • Fix release to include package data files.

3.0 (2025-11-19)

  • Switch to PEP 420 native namespace.

  • Add support for Python 3.12, 3.13 and 3.14.

  • Drop support for Python 3.7, 3.8 and 3.9.

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)

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

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)

1.1.2 (2007-04-24)

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

products_pluginregistry-3.1.tar.gz (24.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

products_pluginregistry-3.1-py3-none-any.whl (26.8 kB view details)

Uploaded Python 3

File details

Details for the file products_pluginregistry-3.1.tar.gz.

File metadata

  • Download URL: products_pluginregistry-3.1.tar.gz
  • Upload date:
  • Size: 24.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for products_pluginregistry-3.1.tar.gz
Algorithm Hash digest
SHA256 ed29252564ece0ddb96b577b76911dde0ac8abef3e2ab09f5d9cea9b22c1917d
MD5 ef0eb8f816dc3133df78865f64f6b4a2
BLAKE2b-256 e18e53e1a5a9401e95264b91225dd2e617ddf0203088a2588ea83a90aa061a93

See more details on using hashes here.

File details

Details for the file products_pluginregistry-3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for products_pluginregistry-3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 45250701d6bc2ebafeb59f80b4ff5017a60bc6cc0566465f7bfb9d657127c1c0
MD5 656cee6f3e50e4791c935b924735cadd
BLAKE2b-256 5b73fbcea26f19153b6e727fb5553ccabbebdf8242abeef4022cb180840369f3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page