$npx skillfedfor your agent

auth

Authorization for humans

With conditionsPyPI Python ModulesReleased Aug 202694.8K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — auth-3.1.0-py3-none-any.whl
v3.1.0 · released 2026-08-12 · Python >=3.9 · 12 runtime deps: flask, flask-cors, sqlalchemy, waitress, cryptography, APScheduler, psycopg, pydantic

Yes, if you need centralized RBAC for multiple services or want to avoid reinventing role and permission logic. The low install friction, active maintenance, MIT license, and zero known vulnerabilities support adoption. However, you must run or access an auth service instance—it is not an in-process library—and you need to understand that it handles authorization only, not authentication. Not suitable if you need fine-grained attribute-based access control or cannot tolerate a network round-trip per permission check.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a running auth service instance (self-hosted or external).
  • Since 3.0.0, new namespaces require users to hold an API key before role assignment; existing namespaces were grandfathered with key-less user support.
  • Low install friction with a pure-Python wheel.

License · maintenance · safety

MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.

last release 2026-08-12 (2 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 94,779 downloads/mo, #13,305 on PyPI

Verify before relying

from auth import Client

KEY = "your-uuid4-key-here"
with Client(api_key=KEY, service_url="https://auth.rodmena.app") as c:
    c.create_role("engineers")
    c.add_permission("engineers", "deploy")
    c.create_api_key("alice")
    c.add_membership("alice", "engineers")
    result = c.user_has_permission("alice", "deploy")
  • Performance characteristics under high permission-check volume or with large role/permission graphs
  • Exact latency overhead of network round-trips versus in-process caching strategies
  • Multi-tenancy isolation guarantees and audit trail completeness
Same gist for agents: .md · .json

What it is and what it does

auth is a dedicated HTTP service for role-based access control that centralizes authorization logic so your services don't reinvent roles and permissions. It answers a single question—may user X do Y—by checking whether a user holds a role that grants a permission. It is strictly authorization: it does not authenticate users, store passwords, or issue tokens. Instead, it trusts that callers already know who the user is and decides what they may do based on a simple model: user → role → permission.

You interact with it via HTTP endpoints or a Python client. Each client uses a UUID4 key as a private namespace. You create roles, assign permissions to roles, create user identities (optionally backed by API keys), and add users to roles. When you need to check access, you query whether a user has a permission. Since version 3.0.0, new namespaces enforce strict user identity—users must hold an API key before receiving roles—though existing namespaces and opt-out are supported indefinitely.

Use it for

  • Gate microservice endpoints on whether a caller holds a required role and permission without embedding auth logic in each service.
  • Manage CLI tool access by checking user roles and permissions before executing privileged commands.
  • Implement workflow engine authorization by verifying that a user can transition a task to the next stage.
  • Provide a multi-tenant SaaS application with isolated role hierarchies and permission checks per customer namespace.
  • Audit and rotate user access by revoking API keys or removing role memberships without redeploying services.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need centralized RBAC for multiple services or want to avoid reinventing role and permission logic.

The low install friction, active maintenance, MIT license, and zero known vulnerabilities support adoption. However, you must run or access an auth service instance—it is not an in-process library—and you need to understand that it handles authorization only, not authentication. Not suitable if you need fine-grained attribute-based access control or cannot tolerate a network round-trip per permission check.

Install

auth on PyPI

Before you install

Low install friction with a pure-Python wheel. Actively maintained with a release 2 days old. Supports Python 3.9 through 3.14. Depends on 12 runtime packages including Flask, SQLAlchemy, and cryptography—a moderate but standard stack for a web service.

Requires a running auth service instance (self-hosted or external). Since 3.0.0, new namespaces require users to hold an API key before role assignment; existing namespaces were grandfathered with key-less user support.

License in practice

MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.

Quickstart

from auth import Client

KEY = "your-uuid4-key-here"
with Client(api_key=KEY, service_url="https://auth.rodmena.app") as c:
    c.create_role("engineers")
    c.add_permission("engineers", "deploy")
    c.create_api_key("alice")
    c.add_membership("alice", "engineers")
    result = c.user_has_permission("alice", "deploy")

Verify before relying

  • Performance characteristics under high permission-check volume or with large role/permission graphs
  • Exact latency overhead of network round-trips versus in-process caching strategies
  • Multi-tenancy isolation guarantees and audit trail completeness

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
12 packages
flaskflask-corssqlalchemywaitresscryptographyAPSchedulerpsycopgpydanticpydantic-settingsrequestsbleachpython-json-logger
MaintenanceActively maintained 2 days since the last release
First released
Downloads94,779 / month, #13,305 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIXProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTopic :: Software Development :: Libraries :: Python Modules

Evidence: auth-3.1.0-py3-none-any.whl

Tags

Capabilities
role-based access control serviceRBAC authorization HTTP APIpermission checking serviceuser role membership managementauthorization without authenticationdistributed permission enginerole permission delegation
Topics
rbacauthorization-servicemulti-tenant
PyPI keywords
authorizationroleauthgroupsmembershipensureldap

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “RBAC authorization HTTP API”

  • authAn HTTP authorization service that answers whether a user may perform…
  • oso-cloudOso Cloud client provides a Python wrapper for…
  • pycasbinPyCasbin enforces access control policies using models like ACL,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also django-prbac · oso-cloud · casbin · pycasbin · propelauth-fastapi · oslo.policy · Flask-Principal · django-auth-ldap · propelauth-py · landlock