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

Uploaded Source

Built Distribution

django_simplekeys-0.5.0-py2.py3-none-any.whl (24.5 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for django-simplekeys-0.5.0.tar.gz
Algorithm Hash digest
SHA256 75db9e0a30ec60502e6c6e9f5f9f79d8b0704fed228f476f9dae3346e0059fff
MD5 de9d6c8b766cc8509305bae7b749299b
BLAKE2b-256 a42daa221498a016e35ca7d704e6c2d265ca062cf3f7f7f9ebb8a12e14168ca5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_simplekeys-0.5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0d642e9a6b5cd0c28c29c9d7c8e009dfeac9731d5594272b6c32995638251292
MD5 aa0e386116eb36fe8f3073732dea47c8
BLAKE2b-256 18676dec44016aa2304ac817cec33186a4d130b2c1e6d5ec1658133115905f1e

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