Skip to main content

No project description provided

Project description

Simple API Management Logo

Simple API Management Python WSGI based Frameworks Middleware

Installation

$ pip install simple-api-management-wsgi

Usage

def identifier(environ, app):
    return environ['REMOTE_ADDR']

simple_api_management_options = {
    'KEY': 'add your key here',
    'IDENTIFIER': identifier #optional
}

app.wsgi_app = SimpleAPIManagementMiddleware(app.wsgi_app, simple_api_management_options)

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

simple-api-management-wsgi-0.2.0.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simple_api_management_wsgi-0.2.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file simple-api-management-wsgi-0.2.0.tar.gz.

File metadata

  • Download URL: simple-api-management-wsgi-0.2.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.7

File hashes

Hashes for simple-api-management-wsgi-0.2.0.tar.gz
Algorithm Hash digest
SHA256 9d2e065373ccf34853df74b34b67b0f17fe008a11bcb59de8a3c487fcc5bd411
MD5 f924538f5af9cdabe026305eea5594f3
BLAKE2b-256 09334d072df8f3fdb9eea56deb4cacf6d2c7f56681ccd5310381c7caa750be54

See more details on using hashes here.

File details

Details for the file simple_api_management_wsgi-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: simple_api_management_wsgi-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.7

File hashes

Hashes for simple_api_management_wsgi-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e8f2adb5e48b3ae89941c1c58b62a79ae355101ad8e89ab7aa5e4afb6a58a9ea
MD5 b78367153a5cd7ea5d39273220c747d3
BLAKE2b-256 90a35256cd0456822fcacc2c1c1b626b713f2aec56d428a7d9ebf4125bf27126

See more details on using hashes here.

Supported by

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