{ "info": { "author": "Marcus Hardt", "author_email": "hardt@kit.edu", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Environment :: Web Environment", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: Science/Research", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: System :: Systems Administration", "Topic :: System :: Systems Administration :: Authentication/Directory", "Topic :: Utilities" ], "description": "# AARC G002 Entitlement Parser\n\n# Introduction\nAs part of the AARC Project several recommendations were made. G002\nhttps://aarc-project.eu/guidelines/aarc-g002 describes encoding group\nmembersip in entitlements.\n\nThis package provides a python Class to parse and compare such entitlements.\n\n# Example\n\n```\nfrom aarc_g002_entitlement import Aarc_g002_entitlement\n\nrequired_group= 'urn:geant:h-df.de:group:aai-admin'\nactual_group = 'urn:geant:h-df.de:group:aai-admin:role=member#backupserver.used.for.developmt.de'\n\nrequired_entitlement = Aarc_g002_entitlement(required_group, strict=False)\nactual_entitlement = Aarc_g002_entitlement(actual_group)\n\nprint('\\n3: Role assigned but not required')\nprint(' is_contained_in: => {}'.format(required_entitlement.is_contained_in(actual_entitlement)))\nprint(' (are equal: => {})'.format(required_entitlement == actual_entitlement))\n```\n\n# Installation\n```\npip --user install aarc-g002-entitlement\n```\n\n# Note\n\nThis code allows on intentional exception from implementing the standard:\nAARC-G002 makes the issuing authority mandatory (non-empty-string).\nHowever, admins that specify the required entitlement don't care about\nspecifying this. \nTherefore, the code allows a laxer handling, in that it does\naccept entitlements that don't specify an authority, if the \"strict=False\"\nargument is passed.\n\n# Funding Notice \nThe AARC project has received funding from the European Union\u2019s Horizon\n2020 research and innovation programme under grant agreement No 653965 and\n730941.\n\n\n\n", "description_content_type": "text/markdown; charset=UTF-8", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/kit-scc/aarc-g002-entitlement", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "aarc-g002-entitlement", "package_url": "https://pypi.org/project/aarc-g002-entitlement/", "platform": "", "project_url": "https://pypi.org/project/aarc-g002-entitlement/", "project_urls": { "Bug Tracker": "https://github.com/kit-scc/aarc-g002-entitlement/issues", "Documentation": "https://github.com/kit-scc/aarc-g002-entitlement/blob/master/README.md", "Homepage": "https://github.com/kit-scc/aarc-g002-entitlement" }, "release_url": "https://pypi.org/project/aarc-g002-entitlement/0.1.1/", "requires_dist": [ "regex" ], "requires_python": "", "summary": "Class to compare and parse entitlements according to the", "version": "0.1.1" }, "last_serial": 5786659, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "5ca92a8d0afd57aa634c05859908ccb3", "sha256": "529d6958db855d931629aa912493ab56905ccd23ea779ac14747c86767f766d0" }, "downloads": -1, "filename": "aarc_g002_entitlement-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5ca92a8d0afd57aa634c05859908ccb3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5832, "upload_time": "2019-09-03T13:31:58", "url": "https://files.pythonhosted.org/packages/fd/b8/9ac84f04a2e412950d5d1e7105896752dc884fb45fbed2a9317f6db8ad41/aarc_g002_entitlement-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "94b2639297253c179e6a154f094b3cf6", "sha256": "aac6288094411806e988665daf62fcd51fadd619142d14627d9943e48022d93f" }, "downloads": -1, "filename": "aarc_g002_entitlement-0.0.1.tar.gz", "has_sig": false, "md5_digest": "94b2639297253c179e6a154f094b3cf6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 147471, "upload_time": "2019-09-03T13:32:02", "url": "https://files.pythonhosted.org/packages/4f/c5/1f2fbb1b250f9220940c814512ae946be251f074e3f17250167f19b3bffe/aarc_g002_entitlement-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "b5d865ff2fcb933cef0aff13fffaea0a", "sha256": "9232c779fefd4062d4213876559b2a37acb60046c8efd6582170b25de8a7ac2c" }, "downloads": -1, "filename": "aarc_g002_entitlement-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b5d865ff2fcb933cef0aff13fffaea0a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5798, "upload_time": "2019-09-03T13:39:06", "url": "https://files.pythonhosted.org/packages/f1/f2/0bb5854533e93a1ee9517a522ed5116353a417a6a5e4af35e6b56b954259/aarc_g002_entitlement-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "720fb1c32b0dba453bd7a2ac4243bef9", "sha256": "3da5e6230b24b04e7f84739429612442de635ffdbaefac4b7afb3bf78f1c87b3" }, "downloads": -1, "filename": "aarc_g002_entitlement-0.0.2.tar.gz", "has_sig": false, "md5_digest": "720fb1c32b0dba453bd7a2ac4243bef9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 147459, "upload_time": "2019-09-03T13:39:11", "url": "https://files.pythonhosted.org/packages/37/ed/038eb6b7e31e6d6f1467b90c9947dcde16073576cddd1c810906ee73085d/aarc_g002_entitlement-0.0.2.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "ebcfc987707d1143c2ebdc9196e4d603", "sha256": "301003f52dcd6b321178d2d9321dd16e08723eeefc81546effa73aaaa97badd1" }, "downloads": -1, "filename": "aarc_g002_entitlement-0.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ebcfc987707d1143c2ebdc9196e4d603", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5794, "upload_time": "2019-09-04T08:23:21", "url": "https://files.pythonhosted.org/packages/24/75/fbc1b37941016c06cae665a373f30064babc5e925201f3683422cce741ec/aarc_g002_entitlement-0.0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b1d8a014971122bdd881970c4195c4df", "sha256": "bac826e7832c66f73bd0e5e326fa347bd913ea6ccd8afc665b6f1627116f5d5d" }, "downloads": -1, "filename": "aarc_g002_entitlement-0.0.4.tar.gz", "has_sig": false, "md5_digest": "b1d8a014971122bdd881970c4195c4df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9863, "upload_time": "2019-09-04T08:23:23", "url": "https://files.pythonhosted.org/packages/0b/a7/dd386125d7c673c2b7e969d274fbf27cfa1868d5ce842bb47b3cae6e912d/aarc_g002_entitlement-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "a00646de4564939f863ad58fe6e8bd4d", "sha256": "55ea9180852270b1a3f5adadbe8ff4cadd6ee7348ff4d9f5b8c55c08d80d870a" }, "downloads": -1, "filename": "aarc_g002_entitlement-0.0.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a00646de4564939f863ad58fe6e8bd4d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5947, "upload_time": "2019-09-04T10:11:41", "url": "https://files.pythonhosted.org/packages/10/74/e18d4f3ac6de66e29d60cdd3911b1ca806b7d70c4549559683b0cf80c453/aarc_g002_entitlement-0.0.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6a18601c7ee7240086312fba11713a1f", "sha256": "287e573d540f0e000bfc03ed30dfdec820d6e447513721617abc0e2f72279287" }, "downloads": -1, "filename": "aarc_g002_entitlement-0.0.5.tar.gz", "has_sig": false, "md5_digest": "6a18601c7ee7240086312fba11713a1f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10082, "upload_time": "2019-09-04T10:11:44", "url": "https://files.pythonhosted.org/packages/ab/7e/64ddb0e66346901493cd5486a219f0c52ee8f244f690937f40dc60f76804/aarc_g002_entitlement-0.0.5.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "dbd97b1d33368f1f1955ad9befe0d987", "sha256": "ffe5c6968a5ffcbd6e5566ffd4c3b4726aa474dbf2f29cd796bab29d647b2752" }, "downloads": -1, "filename": "aarc_g002_entitlement-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "dbd97b1d33368f1f1955ad9befe0d987", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5980, "upload_time": "2019-09-05T13:12:10", "url": "https://files.pythonhosted.org/packages/ee/0f/ec39447345638dfd8b7d5df75e002aad77ae7f51c33ff2b4a10bd7c9e459/aarc_g002_entitlement-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "044685d3d7d28d5f13675903055570a4", "sha256": "749cceed9c763c539a073f4a244822d8c7df811f9832f583918aac9db02cc7c5" }, "downloads": -1, "filename": "aarc_g002_entitlement-0.1.0.tar.gz", "has_sig": false, "md5_digest": "044685d3d7d28d5f13675903055570a4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10154, "upload_time": "2019-09-05T13:12:12", "url": "https://files.pythonhosted.org/packages/ee/96/3929bdef43035eedd88bbdf34c740294757c9f1f066cfe68e90fcfd4a4bb/aarc_g002_entitlement-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "3dc18b838d6daf4b322a83e7eb34425b", "sha256": "1a9a93cadcb796e38363a93f74d22b9da731b4b91792c0b333978f430e5d837f" }, "downloads": -1, "filename": "aarc_g002_entitlement-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3dc18b838d6daf4b322a83e7eb34425b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6230, "upload_time": "2019-09-05T13:49:14", "url": "https://files.pythonhosted.org/packages/b5/f1/c501127c9ca7a4bea8afb1f9fd83776d91d2e4d6c5214687f119855de235/aarc_g002_entitlement-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3c59122fcfbf2cc6815fc806f11bf689", "sha256": "573f0c88ded722c559a34d028c2c8ec15d435c745c41ac150ddce485c8b9ed17" }, "downloads": -1, "filename": "aarc_g002_entitlement-0.1.1.tar.gz", "has_sig": false, "md5_digest": "3c59122fcfbf2cc6815fc806f11bf689", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10550, "upload_time": "2019-09-05T13:49:15", "url": "https://files.pythonhosted.org/packages/01/cc/25c8e90211a92621ca8ecd5d79062eac4d949c4d7780a9b95ce4e6279dd5/aarc_g002_entitlement-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3dc18b838d6daf4b322a83e7eb34425b", "sha256": "1a9a93cadcb796e38363a93f74d22b9da731b4b91792c0b333978f430e5d837f" }, "downloads": -1, "filename": "aarc_g002_entitlement-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3dc18b838d6daf4b322a83e7eb34425b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6230, "upload_time": "2019-09-05T13:49:14", "url": "https://files.pythonhosted.org/packages/b5/f1/c501127c9ca7a4bea8afb1f9fd83776d91d2e4d6c5214687f119855de235/aarc_g002_entitlement-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3c59122fcfbf2cc6815fc806f11bf689", "sha256": "573f0c88ded722c559a34d028c2c8ec15d435c745c41ac150ddce485c8b9ed17" }, "downloads": -1, "filename": "aarc_g002_entitlement-0.1.1.tar.gz", "has_sig": false, "md5_digest": "3c59122fcfbf2cc6815fc806f11bf689", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10550, "upload_time": "2019-09-05T13:49:15", "url": "https://files.pythonhosted.org/packages/01/cc/25c8e90211a92621ca8ecd5d79062eac4d949c4d7780a9b95ce4e6279dd5/aarc_g002_entitlement-0.1.1.tar.gz" } ] }