Python SDK for Permit.io, a fine-grained authorization service. Current version 2.8.3, compatible with Python >=3.8. Active development with frequent releases.
pip install permitNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize the SDK with a Permit API key and PDP URL.
Use `await permit.check(...)` in async context, or use `permit.check_sync(...)` for synchronous calls.
Use `permit.api.users.sync.get_by_key(...)` for synchronous calls, or await `permit.api.users.async_.get_by_key(...)` for async.
Ensure PDP is running at the configured URL, or use Permit Cloud PDP by setting `pdp='https://cloudpdp.api.permit.io'`.
Install with `pip install permit` and import with `from permit import Permit`.
Set the environment variable PERMIT_KEY to your Permit.io API key.
Start the PDP with `permit-cli pdp run` or set the correct PDP URL.
No resource links recorded.