No project description provided
Project description
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
Built Distribution
Close
Hashes for simple-api-management-wsgi-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d2e065373ccf34853df74b34b67b0f17fe008a11bcb59de8a3c487fcc5bd411 |
|
MD5 | f924538f5af9cdabe026305eea5594f3 |
|
BLAKE2b-256 | 09334d072df8f3fdb9eea56deb4cacf6d2c7f56681ccd5310381c7caa750be54 |
Close
Hashes for simple_api_management_wsgi-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8f2adb5e48b3ae89941c1c58b62a79ae355101ad8e89ab7aa5e4afb6a58a9ea |
|
MD5 | b78367153a5cd7ea5d39273220c747d3 |
|
BLAKE2b-256 | 90a35256cd0456822fcacc2c1c1b626b713f2aec56d428a7d9ebf4125bf27126 |