clerk-backend-api
Python Client SDK for clerk.dev
Decision gist · record as of 2026-08-14
Yes, with a caveat on license clarity. The package is actively maintained, has low install friction, supports current Python versions, and carries no known vulnerabilities. However, the license treatment is unclear—verify the actual license terms before committing to production use, especially in proprietary or restricted-license contexts. For open-source or permissive-license projects, install without hesitation.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Bearer token authentication (CLERK_SECRET_KEY) must be provided and available at runtime.
- Low install friction with five well-maintained runtime dependencies (cryptography, httpcore, httpx, pydantic, pyjwt).
License · maintenance · safety
(unclear) — License treatment is unclear—no SPDX identifier or raw license text is available in the package metadata. Verify the actual license terms before use in proprietary or restricted contexts.
last release 2026-08-11 (3 days) · last repo commit 2026-08-14 · 184 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,622,031 downloads/mo, #2,966 on PyPI
Alternatives
Verify before relying
pip install clerk-backend-api
from clerk_backend_api import Clerk
with Clerk(bearer_auth="<YOUR_BEARER_TOKEN_HERE>") as clerk:
res = clerk.email_addresses.get(email_address_id="email_address_id_example")
print(res)- Exact scope and completeness of available resources/operations beyond email_addresses (description excerpt cuts off mid-section)
- Whether async/await support is production-ready or still experimental
- Rate limiting, retry behavior, and timeout defaults for production workloads
- Data residency or compliance certifications (GDPR, SOC 2, etc.) for user data handled by the SDK
What it is and what it does
Clerk Backend API is a Python SDK that wraps Clerk's REST API for server-side user and identity management. It provides synchronous and asynchronous interfaces to interact with Clerk's backend, allowing you to programmatically manage users, email addresses, authentication tokens, and related resources from your Python backend application. The SDK handles HTTP communication via httpx, request signing with pyjwt and cryptography, and response parsing with pydantic, abstracting away the low-level REST details.
The package is designed for backend servers (Django, Flask, or custom Python web frameworks) that need to authenticate requests from Clerk-enabled frontends or directly manage user data. It supports bearer token authentication and includes utilities to verify session and machine tokens from incoming requests. The SDK is actively maintained, supports modern Python versions (3.10–3.14), and carries no known security vulnerabilities.
Use it for
- Authenticate HTTP requests from a Clerk frontend SDK in a Python backend to verify user session tokens.
- Programmatically retrieve or update user email addresses and other identity attributes from a backend service.
- Verify machine tokens or OAuth access tokens in server-to-server communication.
- Build custom user management workflows that integrate Clerk authentication with existing Python web frameworks.
- Manage user data and authentication state as part of a larger backend system or microservice.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with a caveat on license clarity.
The package is actively maintained, has low install friction, supports current Python versions, and carries no known vulnerabilities. However, the license treatment is unclear—verify the actual license terms before committing to production use, especially in proprietary or restricted-license contexts. For open-source or permissive-license projects, install without hesitation.
Install
clerk-backend-api on PyPI
Before you install
Low install friction with five well-maintained runtime dependencies (cryptography, httpcore, httpx, pydantic, pyjwt). Package is actively maintained with a release 3 days old and recent commits; supports Python 3.10 through 3.14.
Requires Python 3.10 or later. Bearer token authentication (CLERK_SECRET_KEY) must be provided and available at runtime.
License in practice
License treatment is unclear—no SPDX identifier or raw license text is available in the package metadata. Verify the actual license terms before use in proprietary or restricted contexts.
Quickstart
pip install clerk-backend-api
from clerk_backend_api import Clerk
with Clerk(bearer_auth="<YOUR_BEARER_TOKEN_HERE>") as clerk:
res = clerk.email_addresses.get(email_address_id="email_address_id_example")
print(res)
Verify before relying
- Exact scope and completeness of available resources/operations beyond email_addresses (description excerpt cuts off mid-section)
- Whether async/await support is production-ready or still experimental
- Rate limiting, retry behavior, and timeout defaults for production workloads
- Data residency or compliance certifications (GDPR, SOC 2, etc.) for user data handled by the SDK
Package facts
| License | Not declared unclear |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagescryptographyhttpcorehttpxpydanticpyjwt |
| Maintenance | Actively maintained 3 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,622,031 / month, #2,966 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: clerk_backend_api-7.0.0-py3-none-any.whl
Tags
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 › “clerk backend api python”
- clerk-backend-apiPython client SDK for the Clerk Backend API, enabling backend servers…
- stream-chatPython SDK for server-side integration with Stream Chat, providing…
- openai-chatkitA backend SDK for building chat applications using OpenAI's APIs,…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also Unified-python-sdk · mistralai · polar-sdk · kombo · vonage-account · pdm · onelogin · boxsdk · stripe · orq-ai-sdk