A Python binding for Cedar (AWS's policy language), enabling policy evaluation and management. Current version 4.8.1 requires Python >=3.9. Active development, monthly releases.
pip install cedarpyNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Load a simple Cedar policy, create entities, and evaluate an authorization request.
Ensure your code accesses `.decision` on the result object, e.g., `result.decision`.
Replace `CedarPolicy.from_string(policy_str)` with `CedarPolicy(policy_str)`.
Always specify the entity type in the UID string, like `'User::"alice"'`.