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 Distribution

lxcor_reggi-0.1.0.tar.gz (17.9 kB view details)

Uploaded Source

Built Distribution

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

lxcor_reggi-0.1.0-py3-none-any.whl (30.4 kB view details)

Uploaded Python 3

File details

Details for the file lxcor_reggi-0.1.0.tar.gz.

File metadata

  • Download URL: lxcor_reggi-0.1.0.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.10

File hashes

Hashes for lxcor_reggi-0.1.0.tar.gz
Algorithm Hash digest
SHA256 06e5e0ce87ca5b646d39ed0cb022460e84c265346aa344ed567643d4312471a7
MD5 4a697112e1c5b93411cbf570000d065b
BLAKE2b-256 4384c90ed2a45571182ed4b6b9e4e3268ead8be1877e0aa0eb39b0e4b5c1eb30

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lxcor_reggi-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 30.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 10aeeb7b1ccdcc7cceb67c4ec2a843dc44b3a131f4ebfa2bf51f567ba9e68aa4
MD5 0e8909b39faa95aaf8c47c5266bc2b1d
BLAKE2b-256 f53a1e1897aad242d053e9cafd1bd1d3fb0a2bbb1db636641cee9a3ade550e01

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