Skip to main content

Django API Key management & validation

Project description

django-simplekeys is a reusable Django app that provides a simple way to add API keys to an existing Django project, regardless of API framework.

https://travis-ci.org/jamesturk/django-simplekeys.svg?branch=master https://img.shields.io/pypi/v/django-simplekeys.svg https://readthedocs.org/projects/django-simplekeys/badge/?version=latest

Features

  • Token bucket rate limiting, for limiting requests/second with optional bursting behavior.

  • Quota-based rate limiting (e.g. requests/day)

  • Ability to configure different usage tiers, to give different users different rates/quotas.

  • Ability to configure different ‘zones’ so that different API methods can have different limits. (e.g. some particularly computationally expensive queries can have a much lower limit than cheap GET queries)

  • Provided views for very simple email-based API key registration.

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

django-simplekeys-0.5.3.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

django_simplekeys-0.5.3-py2.py3-none-any.whl (23.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-simplekeys-0.5.3.tar.gz.

File metadata

  • Download URL: django-simplekeys-0.5.3.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

File hashes

Hashes for django-simplekeys-0.5.3.tar.gz
Algorithm Hash digest
SHA256 65d1119ad43b3dc1853b1ca5be9db54c0aaeee2e4136c7c480c0a096d1ca37df
MD5 0e51eaad2781ffe6afbcc7a3e57a9ea4
BLAKE2b-256 9814733ff8ca6633cf4122ff62ef9fa14e29945492ecaf7b53cde317ef3648d3

See more details on using hashes here.

File details

Details for the file django_simplekeys-0.5.3-py2.py3-none-any.whl.

File metadata

  • Download URL: django_simplekeys-0.5.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 23.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

File hashes

Hashes for django_simplekeys-0.5.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a926eb5e9a83be34516871d1f432555623d377593ceca5422141a377a070f652
MD5 a32bc668b9d91c7a12059bc60e24e452
BLAKE2b-256 84dd79065ab7884db9fe93e383f9c540049fc576f0d2d8adc1415ec1dae9b18f

See more details on using hashes here.

Supported by

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