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

Uploaded Source

Built Distribution

django_simplekeys-0.5.1-py2.py3-none-any.whl (22.9 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for django-simplekeys-0.5.1.tar.gz
Algorithm Hash digest
SHA256 7364c8fc90ecb3ed0631d6c285c2a44355a9a40a10f811d8982173fbc40ce247
MD5 4333a8194e4cbee67784158d2ba11a97
BLAKE2b-256 563454e88e4d28b418e9eac66c67c5588c4e81c38a0f2b415c91f2ef0fa57ec8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_simplekeys-0.5.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0a310ff08fc4aa7da030ca29ce8d2def2eadb0ad303dfd0342bb03adb35bee13
MD5 3526e8cba433120215a836ed38cd6ff4
BLAKE2b-256 79e45bd334625498a6c58f3fb3ce99d5f6fbe59c83ec05791c553e7a3f805457

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