Python Permissions

Open-source Python projects categorized as Permissions

Top 15 Python Permission Projects

  • django-guardian

    Per object permissions for Django

    Project mention: Three Ways to Secure Database APIs: Which Is Right for You? | | 2023-04-03

    You can mitigate the pain by using libraries like accesscontrol, express-rbac, django-guardian, etc., to manage authorization more declaratively. But making sure nothing leaks is still a significant challenge.

  • OPAL

    Policy and data administration, distribution, and real-time updates on top of Policy Agents (OPA, Cedar, ...) (by permitio)

    Project mention: Best Practices for Authorization in Microservices | | 2023-07-21

    One example of such an administration tool is OPAL, an open policy administration layer that works with OPA. OPAL tracks changes in external services and propagates the data to the OPA PDPs so the authorization requests can handle existing data and return faster results.

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • django-rules

    Awesome Django authorization, without the database

    Project mention: Permissions (access control) in web apps | | 2022-11-30 A generic, approachable open source framework for building rule-based systems in Django (Python).

  • djangorestframework-api-key

    🔐 API key permissions for Django REST Framework

    Project mention: Securing endpoints to be consumed externally | /r/django | 2023-08-20

    I’ve used the DRF API Keys for this problem

  • easyauth

    Create a centralized Authentication and Authorization token server. Easily secure FastAPI endpoints based on Users, Groups, Roles or Permissions with very little database usage.

  • Sanic JWT

    Authentication, JWT, and permission scoping for Sanic

  • bepasty

    universal pastebin server

    Project mention: Looking for self-hosted alternative to imgur, temporary image file hosting | /r/selfhosted | 2023-05-02

    I love bepasty for such uploads (not just images, though it does come with some features specific to images). It doesn't have a user account concept though, it just uses passwords to prevent anonymous users from uploading. Runs fine in Docker and is very light on resources (idling at around 70 MB RAM, 0% CPU for me after running for several weeks now):

  • Mergify

    Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.

  • deny

    Python authorization library

  • sanic-security

    An effective, simple, and async security library for the Sanic framework.

    Project mention: Sanic Security: An effective, simple, and async security library for the Sanic framework. (Python) | /r/coolgithubprojects | 2023-02-03
  • django-access

    Django-Access - the application introducing dynamic evaluation-based instance-level (row-level) access rights control for Django

    Project mention: The Django Access package supports all modern versions of the Django | /r/django | 2023-02-17

    Hi people, I wrote to you some time ago about the open-source Django Access package supporting instance-level access rules for the Django system.

  • Carteblanche

    Module to align code with thoughts of users and designers. Also magically handles navigation and permissions.

  • tccutil

    A macOS Permissions manager

    Project mention: How do I use this program? | /r/mac | 2023-06-08

    Please explain me how do I used this python script. I already installed homebrew with all tools. But when I try to start via "python /local/" it's won't start. I tried to start it with different ways - nothing.

  • restframework-serializer-permissions

    Drop in replacement for Django Restframework Serializers to add permission based field serialization.

  • targe

    Policy based authorization library built for python.

  • public-permission-example

    Custom Permission example for the Django based project

  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-08-20.

Python Permissions related posts


What are some of the best open-source Permission projects in Python? This list will help you:

Project Stars
1 django-guardian 3,445
2 OPAL 1,819
3 django-rules 1,688
4 djangorestframework-api-key 613
5 easyauth 476
6 Sanic JWT 238
7 bepasty 161
8 deny 83
9 sanic-security 82
10 django-access 72
11 Carteblanche 41
12 tccutil 30
13 restframework-serializer-permissions 11
14 targe 9
15 public-permission-example 3
Write Clean Python Code. Always.
Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.