zope.principalregistry


Namezope.principalregistry JSON
Version 6.0 PyPI version JSON
download
home_pagehttps://github.com/zopefoundation/zope.principalregistry
SummaryGlobal principal registry component for Zope3
upload_time2025-09-12 07:32:56
maintainerNone
docs_urlNone
authorZope Foundation and Contributors
requires_python>=3.9
licenseZPL-2.1
keywords zope security authentication principal registry
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ============================
 ``zope.principalregistry``
============================

.. image:: https://img.shields.io/pypi/v/zope.principalregistry.svg
        :target: https://pypi.python.org/pypi/zope.principalregistry/
        :alt: Latest release

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

.. image:: https://github.com/zopefoundation/zope.principalregistry/actions/workflows/tests.yml/badge.svg
        :target: https://github.com/zopefoundation/zope.principalregistry/actions/workflows/tests.yml

.. image:: https://coveralls.io/repos/github/zopefoundation/zope.principalregistry/badge.svg?branch=master
        :target: https://coveralls.io/github/zopefoundation/zope.principalregistry?branch=master

.. image:: https://readthedocs.org/projects/zopeprincipalregistry/badge/?version=latest
        :target: https://zopeprincipalregistry.readthedocs.io/en/latest/
        :alt: 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)
==================

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

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/zopefoundation/zope.principalregistry",
    "name": "zope.principalregistry",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "zope security authentication principal registry",
    "author": "Zope Foundation and Contributors",
    "author_email": "zope-dev@zope.dev",
    "download_url": "https://files.pythonhosted.org/packages/be/cb/a8b9a489c6621ab684059493f851314b3cb3f64fdd6fb55542d907e39be0/zope_principalregistry-6.0.tar.gz",
    "platform": null,
    "description": "============================\n ``zope.principalregistry``\n============================\n\n.. image:: https://img.shields.io/pypi/v/zope.principalregistry.svg\n        :target: https://pypi.python.org/pypi/zope.principalregistry/\n        :alt: Latest release\n\n.. image:: https://img.shields.io/pypi/pyversions/zope.principalregistry.svg\n        :target: https://pypi.org/project/zope.principalregistry/\n        :alt: Supported Python versions\n\n.. image:: https://github.com/zopefoundation/zope.principalregistry/actions/workflows/tests.yml/badge.svg\n        :target: https://github.com/zopefoundation/zope.principalregistry/actions/workflows/tests.yml\n\n.. image:: https://coveralls.io/repos/github/zopefoundation/zope.principalregistry/badge.svg?branch=master\n        :target: https://coveralls.io/github/zopefoundation/zope.principalregistry?branch=master\n\n.. image:: https://readthedocs.org/projects/zopeprincipalregistry/badge/?version=latest\n        :target: https://zopeprincipalregistry.readthedocs.io/en/latest/\n        :alt: Documentation Status\n\nThis package provides an authentication utility for ``zope.authentication``\nthat uses a simple non-persistent principal registry. This is\ntypically registered as a global utility, and it is usually configured\nin ZCML.\n\nDocumentation is hosted at https://zopeprincipalregistry.readthedocs.io\n\n\n=========\n Changes\n=========\n\n6.0 (2025-09-12)\n================\n\n- Replace ``pkg_resources`` namespace with PEP 420 native namespace.\n\n\n5.1 (2025-02-14)\n================\n\n- Add support for Python 3.12, 3.13.\n\n- Drop support for Python 3.7, 3.8.\n\n\n5.0 (2023-07-06)\n================\n\n- Drop support for Python 2.7, 3.5, 3.6.\n\n- Drop support for deprecated ``python setup.py test``.\n\n- Add support for Python 3.11.\n\n\n4.3 (2022-07-14)\n================\n\n- Drop support for Python 3.4.\n\n- Add support for Python 3.7, 3.8, 3.9, 3.10.\n\n\n4.2.0 (2017-10-01)\n==================\n\n- Fix principal and group objects registered in ZCML or directly with\n  the principalregistry being invalid under Python 2 (having byte\n  strings for ``id`` instead of text strings).\n  See https://github.com/zopefoundation/zope.principalregistry/issues/7\n\n\n4.1.0 (2017-09-04)\n==================\n\n- Add support for Python 3.5 and 3.6.\n\n- Drop support for Python 2.6 and 3.3.\n\n- Host documentation at https://zopeprincipalregistry.readthedocs.io\n\n- Reach 100% test coverage and ensure we remain there.\n\n- Test PyPy3 on Travis CI.\n\n4.0.0 (2014-12-24)\n==================\n\n- Add support for PyPy.  (PyPy3 is pending release of a fix for:\n  https://bitbucket.org/pypy/pypy/issue/1946)\n\n- Add support for Python 3.4.\n\n- Add support for testing under Travis.\n\n\n4.0.0a2 (2013-03-03)\n====================\n\n- Make sure that the password is always bytes when passed into the principal\n  registry.\n\n- Fix deprecation warnings.\n\n\n4.0.0a1 (2013-02-22)\n====================\n\n- Add support for Python 3.3.\n\n- Replace deprecated ``zope.interface.implements`` usage with equivalent\n  ``zope.interface.implementer`` decorator.\n\n- Dropd support for Python 2.4 and 2.5.\n\n\n3.7.1 (2010-09-25)\n==================\n\n- Add test extra to declare test dependency on ``zope.component [test]``.\n\n- Use Python's ``doctest`` module instead of deprecated\n  ``zope.testing.doctest``.\n\n\n3.7.0 (2009-03-14)\n==================\n\n- Remove ``zope.container`` dependency, as contained principals didn't make any\n  sense, since PrincipalRegistry never provided IContainer. Also, zope.container\n  pulls a number dependencies, that are not needed for non-persistent principal\n  registry (like, ZCML, for example).\n\n  Set ``__name__`` and ``__parent__`` by hand to provide some backward-compatibility and\n  to save a pointer to registry from principal objects.\n\n- Initial release. This package was split from zope.app.security as a part\n  of the refactoring process to provide global principal registry without extra\n  dependencies.\n",
    "bugtrack_url": null,
    "license": "ZPL-2.1",
    "summary": "Global principal registry component for Zope3",
    "version": "6.0",
    "project_urls": {
        "Homepage": "https://github.com/zopefoundation/zope.principalregistry"
    },
    "split_keywords": [
        "zope",
        "security",
        "authentication",
        "principal",
        "registry"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "2a94e6e2ec31267df486e91827dbe6a5405665b13d5f147ba647628b543909cd",
                "md5": "1ec769ba43f30b23ae75ce22941490ce",
                "sha256": "648e8965cf96ce602189ae281a2adfbc72d4f4ffca7b826e7af826b7fac91044"
            },
            "downloads": -1,
            "filename": "zope_principalregistry-6.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1ec769ba43f30b23ae75ce22941490ce",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 15790,
            "upload_time": "2025-09-12T07:32:55",
            "upload_time_iso_8601": "2025-09-12T07:32:55.635936Z",
            "url": "https://files.pythonhosted.org/packages/2a/94/e6e2ec31267df486e91827dbe6a5405665b13d5f147ba647628b543909cd/zope_principalregistry-6.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "becba8b9a489c6621ab684059493f851314b3cb3f64fdd6fb55542d907e39be0",
                "md5": "6c1c93fa60d87d759cf7bc2db769adbe",
                "sha256": "57d5f74af7506fa37dc29ab39ca16d80083e6f8d1c4c862ac715cc0602fe842b"
            },
            "downloads": -1,
            "filename": "zope_principalregistry-6.0.tar.gz",
            "has_sig": false,
            "md5_digest": "6c1c93fa60d87d759cf7bc2db769adbe",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 22690,
            "upload_time": "2025-09-12T07:32:56",
            "upload_time_iso_8601": "2025-09-12T07:32:56.958243Z",
            "url": "https://files.pythonhosted.org/packages/be/cb/a8b9a489c6621ab684059493f851314b3cb3f64fdd6fb55542d907e39be0/zope_principalregistry-6.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-09-12 07:32:56",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "zopefoundation",
    "github_project": "zope.principalregistry",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "zope.principalregistry"
}
        
Elapsed time: 0.88593s