{"categories":[{"label":"Security","url":"https://skillfed.io/packages/category/security/2"}],"enrichment":{"capability":"Validates access tokens and manages user authentication and authorization for B2B applications backed by PropelAuth, including organization membership, role, and permission checks.","skillfed_tags":["b2b-auth","multi-tenant","token-validation"],"use_cases":["Protect API routes by validating bearer tokens and extracting authenticated user identity before processing requests.","Check whether a user belongs to a specific organization and return a 403 error if they do not.","Verify that a user holds a required role (e.g., Owner, Admin) within an organization before granting access to sensitive operations.","Enforce fine-grained permissions (e.g., 'can_view_billing') by querying the User object after token validation.","Generate magic links or manage users and organizations programmatically via the PropelAuth backend API."],"what_it_does":"PropelAuth Python SDK is a client library that connects your Python backend to PropelAuth's hosted authentication service. It handles token validation, user identity retrieval, and organization-level authorization checks (membership, roles, permissions) without requiring you to implement JWT verification or auth logic yourself. The library wraps HTTP calls to PropelAuth's backend APIs via httpx and requests, and uses pyjwt for token handling.\n\nTypically, you initialize it once with your auth URL and API key, then call validate_access_token_and_get_user on incoming requests to extract and verify the bearer token from the Authorization header. The returned User object lets you inspect organization membership, role hierarchies, and custom permissions. It also exposes direct API methods to create magic links, fetch users, and manage organizations\u2014useful for backend-to-backend operations beyond request validation.","worth_installing":"Yes, if you are building a B2B or multi-tenant application and already use or plan to adopt PropelAuth. The library eliminates token validation boilerplate and integrates cleanly with standard Python web frameworks. It is actively maintained, has no known vulnerabilities, and carries a permissive MIT license. Not suitable if you need a standalone auth solution without external service dependency."},"id":"propelauth-py","links":{"html":"https://skillfed.io/packages/propelauth-py","md":"https://skillfed.io/packages/propelauth-py.md","pypi":"https://pypi.org/project/propelauth-py/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-04-21","license_spdx":null,"license_treatment":"permissive","name":"propelauth-py","python_support":"supports_current","summary":"A python authentication library"},"popularity":{"monthly_downloads":388370,"position":7035,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"4.4.0"}
