PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Access Control Python Packages

Python packages with the GitHub topic access-control. Sorted by monthly downloads, with stars and forks.
casbin
casbin

An authorization library that supports access control models like ACL, RBAC, ABAC in Python

2.7M 2K 222
casbin
pycasbin

An authorization library that supports access control models like ACL, RBAC, ABAC in Python

1.9M 2K 222
openfga
openfga-sdk

OpenFGA SDK for Python 3

1.6M 86 37
pycasbin
casbin-sqlalchemy-adapter

SQLAlchemy Adapter for PyCasbin

629K 82 38
rsinger86
drf-access-policy

Declarative access policies/permissions modeled after AWS' IAM policies.

118K 512 55
mlflow-oidc
mlflow-oidc-auth

MLflow Access Control: authentication and access control for MLflow — SSO (OIDC, SAML), SCIM provisioning, service accounts and per-resource permissions

71K 131 65
ashishsinha1602
schemagate

Text-to-SQL access control: schema selection that gives the LLM only the tables the caller is allowed to read. Row-level-security-aware table pruning for LangChain, MCP and any SQL agent. Postgres, Oracle, MySQL, SQL Server. 75% fewer prompt tokens.

19K 102 0
garenchan
policy

A Policy library provides support for RBAC policy enforcement.

14K 1 0
tenuo-ai
tenuo

Task-scoped authorization for AI agents. Cryptographic warrants constrain tools and arguments, prevent privilege escalation at every delegation hop, and produce signed evidence of what was allowed or denied.

11K 103 23
pycasbin
fastapi-authz

Use Casbin in FastAPI, Casbin is a powerful and efficient open-source access control library.

9K 194 15
muratgozel
py-rbac

Python implementation of the NIST model for role based access control (RBAC).

8K 31 9
supero-platform
supero

19 multi-tenant SaaS reference apps in Python. One schema file gives you a REST API, an admin panel and role-based access. No build step. All 19 run live.

7K 3 4
tn3w
flask-vouch

Bot-challenge middleware for Flask.

3K 1 0
Walex4
taper-broker

A credential broker for AI agents. The agent names a typed operation instead of holding a credential, and tokens narrow but never widen. Ed25519 capability chains, Postgres and SSH adapters, 231 red-team scenarios. Unaudited.

3K 3 0
getactra
actra

Actra - control what runs before it runs, controls what actions are allowed before they execute. Evaluate policies across APIs, workflows and AI agents in real time.

2K 2 0
webpro255
agentlock

An adversarially benchmarked reference implementation for pre-action AI agent authorization. Provenance-based gating for LLM agent tool calls: deny-by-default permissions, parameter lineage, signed receipts, audit logging.

2K 19 4
kolotaev
vakt

Attribute-based access control (ABAC) SDK for Python

2K 194 27
redact-secret
redact-secret-vault

Reversible redaction for AI workflows: replace secrets with opaque tokens, then restore them only to authorized destinations. JavaScript and Python.

2K 1 0
rowstile
rowstile

Authorization for Postgres apps: access rules in a policy file, compiled to row-level security. Sharing, groups, nested folders, tenants; no second service.

2K 1 0
warrant-dev
warrant-python

Python SDK for Warrant

2K 12 0
pycasbin
django-authorization

Per object permissions for Django, see example at: https://github.com/pycasbin/django-authorization-example

2K 45 9
Neko1313
casbin-fastapi-decorator

Authorization decorator factory for FastAPI based on Casbin. No middleware, no extra dependencies in route signatures.

1K 8 1
neselab
autocedar

Human-in-the-loop Cedar policy synthesis from natural-language requirements with symbolic verification.

1K 3 0
tenuo-ai
tenuo-claude-code

Task-scoped authorization for Claude Code. Constrain files, commands, web access, MCP tools, and subagents, with signed evidence of what was allowed or denied.

1K 0 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology