zope.principalregistry
This package provides an authentication utility for zope.authentication that uses a simple non-persistent principal registry. This is typically registered as a global utility, and it is usually configured in ZCML.
Documentation is hosted at https://zopeprincipalregistry.readthedocs.io
Changes
6.1 (2026-11-05)
Add support for Python 3.15.
Add support for Python 3.14.
Drop support for Python 3.10.
Drop support for Python 3.9.
Move package metadata from setup.py to pyproject.toml.
6.0 (2025-09-12)
Replace pkg_resources namespace with PEP 420 native namespace.
5.1 (2025-02-14)
Add support for Python 3.12, 3.13.
Drop support for Python 3.7, 3.8.
5.0 (2023-07-06)
Drop support for Python 2.7, 3.5, 3.6.
Drop support for deprecated python setup.py test.
Add support for Python 3.11.
4.3 (2022-07-14)
Drop support for Python 3.4.
Add support for Python 3.7, 3.8, 3.9, 3.10.
4.2.0 (2017-10-01)
Fix principal and group objects registered in ZCML or directly with the principalregistry being invalid under Python 2 (having byte strings for id instead of text strings). See https://github.com/zopefoundation/zope.principalregistry/issues/7
4.1.0 (2017-09-04)
Add support for Python 3.5 and 3.6.
Drop support for Python 2.6 and 3.3.
Host documentation at https://zopeprincipalregistry.readthedocs.io
Reach 100% test coverage and ensure we remain there.
Test PyPy3 on Travis CI.
4.0.0 (2014-12-24)
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.
Add support for testing under Travis.
4.0.0a2 (2013-03-03)
Make sure that the password is always bytes when passed into the principal registry.
Fix deprecation warnings.
4.0.0a1 (2013-02-22)
Add support for Python 3.3.
Replace deprecated zope.interface.implements usage with equivalent zope.interface.implementer decorator.
Dropd support for Python 2.4 and 2.5.
3.7.1 (2010-09-25)
Add test extra to declare test dependency on zope.component [test].
Use Python’s doctest module instead of deprecated zope.testing.doctest.
3.7.0 (2009-03-14)
Remove zope.container dependency, as contained principals didn’t make any sense, since PrincipalRegistry never provided IContainer. Also, zope.container pulls a number dependencies, that are not needed for non-persistent principal registry (like, ZCML, for example).
Set __name__ and __parent__ by hand to provide some backward-compatibility and to save a pointer to registry from principal objects.
Initial release. This package was split from zope.app.security as a part of the refactoring process to provide global principal registry without extra dependencies.
Metadata
Release files for zope.principalregistry 6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| zope_principalregistry-6.1.tar.gz | 22.9 kB | With provenance | Details for zope_principalregistry-6.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zope_principalregistry-6.1-py3-none-any.whl | Python 3 | none | any | Details for zope_principalregistry-6.1-py3-none-any.whl |
Total release size: 38.7 kB
Release files / zope_principalregistry-6.1.tar.gz
| Download URL | zope_principalregistry-6.1.tar.gz |
|---|---|
| Size | 22.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e4860c95eff4de6bd947c0e7d4ce81c7cebde28b1cafe204b1119fcec0b7370f
|
|
BLAKE2b-256 checksum How to use checksums |
c020b6326c7a1c6fbb65c695588932723124fb349c1fa4fe70579228a4467911
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.
Transparency logRelease files / zope_principalregistry-6.1-py3-none-any.whl
| Download URL | zope_principalregistry-6.1-py3-none-any.whl |
|---|---|
| Size | 15.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ab2f98d95c5aec45a900f357a56e4c8523779ff91d1943378b4810d71b801d39
|
|
BLAKE2b-256 checksum How to use checksums |
265e6f62c7a061d6b462015df0b3539d21e801960be774222adc80d082f481ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.
Transparency logSecurity for zope.principalregistry 6.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for zope_principalregistry-6.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.