An authorization library that supports access control models like ACL, RBAC, ABAC in Python
-
Updated
Aug 13, 2026 - Python
8000
Authorization is the process of granting or denying permissions based on rules. This should not be confused with authentication, which is the act of verifying someone’s identitiy.
An authorization library that supports access control models like ACL, RBAC, ABAC in Python
Attribute-based access control (ABAC) SDK for Python
Use Casbin in FastAPI, Casbin is a powerful and efficient open-source access control library.
Python Attribute Based Access Control (ABAC)
Cerbos Python SDK
Authentication/Authorization Toolkit for aiohttp or Navigator.
Python SDK for Warrant
Open-source authorization gateway for AI agent tool calls. Enforce allow, deny, and approval-required decisions before agents execute tools.
Fail-closed authorization gateway for agentic RAG — capability-label pushdown, deny-aware barriers, per-turn agent-context revalidation.
Handle OAuth2 authentication for REST APIs
Django Casbin auth middleware, see example at: https://github.com/officialpycasbin/django-authorization-example