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.4.2.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

django_simplekeys-0.4.2-py2.py3-none-any.whl (21.4 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for django-simplekeys-0.4.2.tar.gz
Algorithm Hash digest
SHA256 2da4fb73f7204feaa36a6807d2ee26f6213de43bf294fb6eaddd57e2cd6db9a4
MD5 5720abcd3d263188f49950032a93e657
BLAKE2b-256 e33c78e5a6b6cfa6c1fbfdb7161afff5fad330fdc057c8b6a4cb9b00be90531f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_simplekeys-0.4.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 886fe6ecda15522315703c7c6484a86a1445b613a13252426ff83e219752bf90
MD5 1d37bccb508f9ac9714ff23fa3acf1e1
BLAKE2b-256 f4e4897d84ab2faa76f46c9d6d3d0bfe4eb2a0236a2d25c007991b16e8d7ddf3

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