Skip to main content

Parse and compare entitlements according to the AARC-G002 recommendation (

Project description

Documentation Status

AARC G002 Entitlement Parser


This package provides a python Class to parse and compare entitlements according to the AARC-G002 Recommendation


from aarc_g002_entitlement import Aarc_g002_entitlement

required = Aarc_g002_entitlement(
actual = Aarc_g002_entitlement(

# is a user with actual permitted to use a resource which needs required?
permitted = required.is_contained_in(actual) # True in this case

# are the two entitlements the same?
equals = required == actual # False in this case

For more examples: ./


pip --user install aarc-g002-entitlement


tox -e docs

After this, the documentation should be located at doc/build/index.html.

Documentation is also available at Readthedocs


Run tests for all supported python versions


Funding Notice

The AARC project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 653965 and 730941.

Download files

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

Files for aarc-g002-entitlement, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size aarc_g002_entitlement-0.3.1-py2.py3-none-any.whl (7.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size aarc_g002_entitlement-0.3.1.tar.gz (22.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page