airclerk
Air + Clerk for user management.
Environment Variables
AirClerk is driven by the following environment variables:
| Variable | Type | Required | Default | Description |
|---|---|---|---|---|
CLERK_PUBLISHABLE_KEY |
str | Yes | - | Clerk publishable API key for client-side authentication |
CLERK_SECRET_KEY |
str | Yes | - | Clerk secret API key for server-side operations |
CLERK_JS_SRC |
str | No | https://cdn.jsdelivr.net/npm/@clerk/clerk-js@5/dist/clerk.browser.js |
CDN URL for the Clerk JavaScript library |
CLERK_LOGIN_ROUTE |
str | No | /login |
URL path for the login page |
CLERK_LOGOUT_ROUTE |
str | No | /logout |
URL path for the logout endpoint |
CLERK_LOGIN_REDIRECT_ROUTE |
str | No | / |
Where the user is redirected to after login |
CLERK_LOGOUT_REDIRECT_ROUTE |
str | No | / |
Where the user is redirected to after logout |
You must set the required environment variables for AirClerk to function properly. Optional variables can be customized as needed.
Usage
To use AirClerk in your Air application, include the middleware and router as shown below:
import air
import airclerk
app = air.Air()
app.add_middleware(air.SessionMiddleware, secret_key="change-me")
app.include_router(airclerk.router)
When you run a development OAuth-powered Air application with AirClerk, don't use localhost as your domain, as Clerk does not support it. Use 127.0.0.1 instead.
Metadata
Release files for AirClerk 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| airclerk-0.2.0.tar.gz | 4.0 kB | Without provenance | Details for airclerk-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| airclerk-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for airclerk-0.2.0-py3-none-any.whl |
Total release size: 8.8 kB
Release files / airclerk-0.2.0.tar.gz
| Download URL | airclerk-0.2.0.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2eed48c1d3f1e35502c9b956781af6105329d7c7503eb24f5571db5b44af3420
|
|
BLAKE2b-256 checksum How to use checksums |
fe40497ff4da5cfa9d3046de003d3c4e96c41d9b4cbd1c5472aac2c62fe12929
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / airclerk-0.2.0-py3-none-any.whl
| Download URL | airclerk-0.2.0-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2916f27d80a504513df9e7a647ca809cfa59c43a7834116bd730e5d84d2cbbb8
|
|
BLAKE2b-256 checksum How to use checksums |
33edbf5e0bfeac168ff161901a517b56e0a132e36d1fc3e987a88eaa901a0564
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for AirClerk 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.