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

Uploaded Source

Built Distribution

django_simplekeys-0.5.2-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.2.tar.gz.

File metadata

  • Download URL: django-simplekeys-0.5.2.tar.gz
  • Upload date:
  • Size: 13.9 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.2.tar.gz
Algorithm Hash digest
SHA256 54f5c7aa9f9c96628eb9446beaac83bb4adafc78717fe1c3a63cb147a89b6090
MD5 f0c284c998e90814d93b908829a4eab8
BLAKE2b-256 ddb388fbf844853f97619faf747fdaa7ae66805711462b9fc548c42eb8996a0e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_simplekeys-0.5.2-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.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d026d8ea94a0a3391d6490783509519c6d6b7f5e5cf82ad4df736a97b0196654
MD5 4d9cffe568d61a40704d669c0e18e9a7
BLAKE2b-256 f481d4aa6537d92a68f4f70ff0e8752043546402b902b7721fbc8c490a90540f

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