Skip to content
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

3.8M 2K 224
openfga
openfga-sdk

OpenFGA SDK for Python 3

3.4M 88 42
casbin
pycasbin

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

2.5M 2K 224
pycasbin
casbin-sqlalchemy-adapter

SQLAlchemy Adapter for PyCasbin

616K 82 38
rsinger86
drf-access-policy

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

123K 511 55
permitio
permit

Python SDK for Permit.io: Plug & Play Application Level Authorization

58K 18 7
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

48K 140 73
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.

25K 3 3
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.

25K 110 29
pycasbin
fastapi-authz

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

17K 194 15
muratgozel
py-rbac

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

14K 31 9
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.

11K 127 4
thameema
memnos

Namespace-scoped, token-authenticated shared memory for AI coding agents. Self-hosted on Postgres (embedded by default). MCP server, REST API & Python SDK.

9K 6 0
thameema
memnos-sdk

Namespace-scoped, token-authenticated shared memory for AI coding agents. Self-hosted on Postgres (embedded by default). MCP server, REST API & Python SDK.

8K 6 0
Avataar120
pyzkaccess-native

Pure-Python client for ZKTeco ZKAccess / PullSDK access-control devices (C3, inBio, MA500), with CLI and Home Assistant integration

6K 0 0
garenchan
policy

A Policy library provides support for RBAC policy enforcement.

5K 1 0
mosaicadb
mosaica-native

An analytical engine for exploring billion-scale spatial and embedding datasets interactively, where every count, cluster, density and label is computed from the records each viewer is permitted to see.

5K 9 1
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.

4K 7 1
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.

4K 2 0
kolotaev
vakt

Attribute-based access control (ABAC) SDK for Python

3K 195 28
nucypher
nucypher

Threshold Access Control (TACo) Node Runtime

3K 704 272
ADARAZ-P-S-A
adaraz

Home Assistant integration and Python library for ADARAZ devices (RAZ-RCP-1 card reader / time clock) - local push, Noise-encrypted ADARAZ Link

3K 0 0
guillem-ps
policy-pattern

Embeddable Python ReBAC authorization engine inspired by Google Zanzibar — pluggable storage, no server required.

3K 0 0
muzakkirhussain011
wardowl

Python library for permission-aware retrieval in RAG: every user gets only the chunks they are allowed to read. Works with pgvector, Pinecone, Qdrant, Elasticsearch and 10 more stores, OpenFGA, SpiceDB, OPA, Cedar or ACLs, and LangChain, LlamaIndex, Haystack and MCP. Fails closed.

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