NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #2619 most downloaded on PyPI
An authorization library that supports access control models like ACL, RBAC, ABAC in Python
Last release 1 years ago
10 May 2025
Release timing varies
gaps range from 2 weeks to 5 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
126 releases · first in 2019
### New - Finish Management API. - Add some RBAC API functions.
### New - Added 'add_policy' api.
### New - Added some management api. - Added some rbac api.
One column per quarter.
Fix logging problem when passing objects as parameters into enforce().
PyCasbin is a powerful and efficient open-source access control library for Python projects. It provides support for enforcing authorization based on
PyCasbin is a powerful and efficient open-source access control library for Python projects. It provides support for enforcing authorization based on various access control models.
What Casbin does:
{subject, object, action} form or a customized form as you defined, both allow and deny authorizations are supported.root or administrator. A superuser can do anything without explict permissions.keyMatch can map a resource key /foo/bar to the pattern /foo*.What Casbin does NOT do:
username and password when a user logs in)Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →