├── .github └── workflows │ ├── publish-to-pypi.yml │ └── testing-and-quality.yml ├── .gitignore ├── .pre-commit-config.yaml ├── README.md ├── entitled ├── __init__.py ├── client.py ├── exceptions.py ├── policies.py ├── py.typed ├── response.py └── rules.py ├── example ├── pyproject.toml └── src │ ├── __init__.py │ ├── main.py │ ├── models.py │ └── policies │ └── list_policy.py ├── pyproject.toml ├── tests ├── __init__.py ├── conftest.py ├── data │ ├── __init__.py │ ├── factories.py │ ├── models.py │ └── policies.py ├── fixtures.py ├── test_client.py ├── test_policies.py └── test_rules.py └── uv.lock /.github/workflows/publish-to-pypi.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xefi/python-entitled/HEAD/.github/workflows/publish-to-pypi.yml -------------------------------------------------------------------------------- /.github/workflows/testing-and-quality.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xefi/python-entitled/HEAD/.github/workflows/testing-and-quality.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xefi/python-entitled/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xefi/python-entitled/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xefi/python-entitled/HEAD/README.md -------------------------------------------------------------------------------- /entitled/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /entitled/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xefi/python-entitled/HEAD/entitled/client.py -------------------------------------------------------------------------------- /entitled/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xefi/python-entitled/HEAD/entitled/exceptions.py -------------------------------------------------------------------------------- /entitled/policies.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xefi/python-entitled/HEAD/entitled/policies.py -------------------------------------------------------------------------------- /entitled/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /entitled/response.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xefi/python-entitled/HEAD/entitled/response.py -------------------------------------------------------------------------------- /entitled/rules.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xefi/python-entitled/HEAD/entitled/rules.py -------------------------------------------------------------------------------- /example/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xefi/python-entitled/HEAD/example/pyproject.toml -------------------------------------------------------------------------------- /example/src/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example/src/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xefi/python-entitled/HEAD/example/src/main.py -------------------------------------------------------------------------------- /example/src/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xefi/python-entitled/HEAD/example/src/models.py -------------------------------------------------------------------------------- /example/src/policies/list_policy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xefi/python-entitled/HEAD/example/src/policies/list_policy.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xefi/python-entitled/HEAD/pyproject.toml -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- 1 | pytest_plugins = ["tests.fixtures"] 2 | -------------------------------------------------------------------------------- /tests/data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/data/factories.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xefi/python-entitled/HEAD/tests/data/factories.py -------------------------------------------------------------------------------- /tests/data/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xefi/python-entitled/HEAD/tests/data/models.py -------------------------------------------------------------------------------- /tests/data/policies.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xefi/python-entitled/HEAD/tests/data/policies.py -------------------------------------------------------------------------------- /tests/fixtures.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xefi/python-entitled/HEAD/tests/fixtures.py -------------------------------------------------------------------------------- /tests/test_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xefi/python-entitled/HEAD/tests/test_client.py -------------------------------------------------------------------------------- /tests/test_policies.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xefi/python-entitled/HEAD/tests/test_policies.py -------------------------------------------------------------------------------- /tests/test_rules.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xefi/python-entitled/HEAD/tests/test_rules.py -------------------------------------------------------------------------------- /uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xefi/python-entitled/HEAD/uv.lock --------------------------------------------------------------------------------