{"repo":"DigonIO/pypermission","free":true,"listed":false,"github":"https://github.com/DigonIO/pypermission","clone":"git clone https://github.com/DigonIO/pypermission.git","description":"PyPermission - The python RBAC library for projects where SQLAlchemy is a valid option.","language":"Python","stars":48,"topics":["python","rbac","sqlalchemy","authorization","lgplv3","postgresql","psycopg3","python3","sqlite"],"license":"LGPL-3.0","category":"databases-storage","readme_excerpt":"PyPermission - The python RBAC authorization library for projects where SQLAlchemy is a valid option. PyPermission keeps authorization simple. It avoids framework lock-ins, skips Policy DSL complexity, and gives developers a clean, Python-native way to express Subjects , Roles , Resources , and Permissions across any application architecture. --- If you find the PyPermission library beneficial, please consider supporting the project by starring it on GitHub. PyPermission - RBAC for Python Features PyPermission implements Role Based Access Control (RBAC) for Python and provides: - RBAC for Python (Quick Start) - Subjects, Roles, Hierarchies, Permissions, Policies & Auditing - Supports NIST Level 2a & some Level 4 review functions (Details) - Persistency via SQLAlchemy - SQLite & PostgreSQL (psycopg) - Integration Guide - Advanced Auditing - Export a RBAC DAG as NetworkX DiGraph - Visualize a RBAC DAG via Plotly - Lightweight - High test Coverage - Online documentation Installing PyPermission with pip The PyPermission library can be installed directly from the PyPI repositories with: If you want to use PostgreSQL, you need to install the postgres dependency group: Usage Example Auditing PyPermission supports a variety of review functions for auditing of the RBAC system and even comes with some tooling for visualization out of the box. The Core API surface on a glance Methods - pypermission.service.role.RoleService ----------------------------------------------------------------","default_branch":null,"files":null,"tree":[],"storefront":"/r/DigonIO","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/DigonIO/pypermission/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}