authentik-client
authentik
What it is and what it does
authentik-client is an auto-generated Python wrapper around authentik's REST API, built from OpenAPI specification. It provides typed classes and methods to interact with authentik's admin endpoints (apps, files, settings, system info), authenticator management (Duo, email, SMS, endpoint), and other identity platform features. The package handles HTTP communication via urllib3 and request/response serialization through pydantic, abstracting away raw HTTP details.
You configure it with an API host and bearer token, then instantiate API class instances (like AdminApi or AuthenticatorsApi) and call methods that map directly to authentik's REST endpoints. It's designed for developers building Python applications that need to programmatically manage authentik deployments, configure authenticators, or query system state—typical use cases include automation scripts, integration layers, and admin dashboards.
Use it for:
- Automate authentik user and app provisioning in deployment pipelines or infrastructure-as-code workflows
- Build Python admin dashboards or CLI tools that query and modify authentik settings and authenticators
- Integrate authentik identity management into third-party applications that need to check system status or configure MFA
- Write integration tests that set up and tear down authentik state programmatically
- Sync authenticator configurations (Duo, email, SMS) across multiple authentik instances
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A Python client library for the authentik identity and access management API, auto-generated from OpenAPI specification to provide typed access to authentik's admin, authenticator, and system endpoints.
Yes. The package has low install friction, active maintenance, permissive licensing, and no known vulnerabilities. It's the official generated client for authentik's API and is suitable for any Python project that needs to interact with authentik programmatically. Install it if you're automating authentik administration or integrating it into a larger system.
Install
authentik-client on PyPI
pip
pip install authentik-clientuv
uv add authentik-clientpoetry
poetry add authentik-clientInstalling authentik-client
Before you install
Low install friction with four lightweight runtime dependencies (urllib3, python-dateutil, pydantic, typing-extensions). Active maintenance with a release 23 days ago. Requires Python 3.9+.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions—suitable for commercial and open-source projects alike.
Quickstart
pip install authentik-client
import os
import authentik_client
from authentik_client.rest import ApiException
configuration = authentik_client.Configuration(
host="/api/v3",
access_token=os.environ["BEARER_TOKEN"]
)
with authentik_client.ApiClient(configuration) as api_client:
api_instance = authentik_client.AdminApi(api_client)
response = api_instance.admin_apps_list()
print(response)
Requires Python 3.9+. Must have a running authentik instance and a valid bearer token in the BEARER_TOKEN environment variable.
Verify before relying
- Whether the generated client is kept in sync with authentik server releases and how version mismatches are handled
- Stability guarantees for the auto-generated API surface across minor version updates
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — urllib3, python-dateutil, pydantic, typing-extensions |
| Maintenance | actively maintained — 23 days since the last release |
| First released | |
| Downloads | 227,178/month — #9,183 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: authentik_client-2026.5.6-py3-none-any.whl
Keywords: OpenAPI, OpenAPI-Generator, authentik
Tags
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
benchling-api-clientA low-level HTTP client for Benchling's API,…
permissive · top 15,000 on PyPI
duo-clientPython client library for Duo Security's…
permissive · top 15,000 on PyPI
whylabs-clientA Python client library for the WhyLabs API…
permissive · top 15,000 on PyPI
oneloginOfficial Python SDK for OneLogin's API,…
unclear · top 15,000 on PyPI
oktaA Python SDK for the Okta Management APIs,…
permissive · top 5,000 on PyPI
method-pythonPython client library for the Method API,…
permissive · top 15,000 on PyPI
authyPython client for the Twilio Authy two-factor…
permissive · top 15,000 on PyPI
legit-api-clientA Python client library for interacting with an…
permissive · top 15,000 on PyPI
bandwidth-sdkPython client library for Bandwidth's…
unclear · top 15,000 on PyPI
lakefs-sdkProvides a Python client library for the lakeFS…
permissive · top 15,000 on PyPI