Skip to main content

API key management and user identity for Django — registration, email verification, key rotation, and tier assignment.

Project description

reggi

API key management and user identity for Django.

reggi provides registration, email verification, login, password reset, API key issuance and rotation, and tier assignment — everything needed to get users authenticated and issuing API requests.

Part of the lxcor/api-suite.

Install

pip install lxcor-reggi

Setup

# settings.py
INSTALLED_APPS = [
    ...
    'reggi',
]
# urls.py
urlpatterns = [
    path('reggi/', include('reggi.urls')),
]

Settings

Setting Default Description
REGGI_SITE_NAME 'API' Site name shown in emails and the navbar
REGGI_AUTO_ISSUE_KEY False Auto-issue a free API key named "Default" on registration
REGGI_DOCS_URL None URL shown as "Docs" link in the user navbar dropdown
REGGI_USAGE_URL None URL shown as "Usage" link in the user navbar dropdown

Features

  • Registration with email verification
  • Login / logout / password reset
  • API key creation, rotation, and revocation
  • Tier assignment per key (integrates with lxcor-kotta)
  • reggi_login_required decorator for protecting views
  • {% include "reggi/_navbar_user.html" %} — drop-in navbar fragment

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lxcor_reggi-0.1.1-py3-none-any.whl (43.2 kB view details)

Uploaded Python 3

File details

Details for the file lxcor_reggi-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: lxcor_reggi-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 43.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.10

File hashes

Hashes for lxcor_reggi-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cdd2d285b6e19efe4dad83ba706de0da4c2e64868a1dd54b41864e4db7cd0289
MD5 999409f64e25f9db8b0cfd45d8716298
BLAKE2b-256 0b86c81810fdfe741aea0769e3c7cbdf6a31cafbfd64f226bc052218879d79e8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page