Skip to main content

Global principal registry component for Zope3

Project description

zope.principalregistry

Latest release Supported Python versions https://github.com/zopefoundation/zope.principalregistry/actions/workflows/tests.yml/badge.svg https://coveralls.io/repos/github/zopefoundation/zope.principalregistry/badge.svg?branch=master Documentation Status

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

4.1.0 (2017-09-04)

4.0.0 (2014-12-24)

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.

Download files

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

Source Distribution

zope_principalregistry-6.0.tar.gz (22.7 kB view details)

Uploaded Source

Built Distribution

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

zope_principalregistry-6.0-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file zope_principalregistry-6.0.tar.gz.

File metadata

  • Download URL: zope_principalregistry-6.0.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for zope_principalregistry-6.0.tar.gz
Algorithm Hash digest
SHA256 57d5f74af7506fa37dc29ab39ca16d80083e6f8d1c4c862ac715cc0602fe842b
MD5 6c1c93fa60d87d759cf7bc2db769adbe
BLAKE2b-256 becba8b9a489c6621ab684059493f851314b3cb3f64fdd6fb55542d907e39be0

See more details on using hashes here.

File details

Details for the file zope_principalregistry-6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for zope_principalregistry-6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 648e8965cf96ce602189ae281a2adfbc72d4f4ffca7b826e7af826b7fac91044
MD5 1ec769ba43f30b23ae75ce22941490ce
BLAKE2b-256 2a94e6e2ec31267df486e91827dbe6a5405665b13d5f147ba647628b543909cd

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