HyperCurrent Middleware for Python Django
Django middleware to dispatch metering metadata for HTTP API calls to HyperCurrent.
Installation
pip install hypercurrent_metering
pip install hypercurrent_django
Usage
In your settings.py file in your Django project directory,
please add the following to the middleware array:
'hypercurrentdjango.middleware.HyperCurrentMiddleware'
Configuration
HYPERCURRENT_API_KEY
(required), string, your HyperCurrent API Integration Key
HYPERCURRENT_APPLICATION_HEADER
(optional), string, the HTTP header to determine the API consumer. The default is "clientId".
HYPERCURRENT_METADATA_HEADER
(optional), string, An optional response header to extract metering metadata from.
HYPERCURRENT_API_URL
(optional), string, the HyperCurrent API URL. You should only need to change this if using a non-US based HyperCurrent instance (ie, EMEA or customer compute.)
Metadata
Release files for hypercurrent-django 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hypercurrent_django-1.0.5.tar.gz | 6.6 kB | Without provenance | Details for hypercurrent_django-1.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hypercurrent_django-1.0.5-py3-none-any.whl | Python 3 | none | any | Details for hypercurrent_django-1.0.5-py3-none-any.whl |
Total release size: 13.7 kB
Release files / hypercurrent_django-1.0.5.tar.gz
| Download URL | hypercurrent_django-1.0.5.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fe8f31e91f1493ba2f7c55711a01cf639367e3b06555f5bdd30041a6a7ecd202
|
|
BLAKE2b-256 checksum How to use checksums |
a731e19514f14f422d4257ba8320887ffb341914919571e33375429b9889c3d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / hypercurrent_django-1.0.5-py3-none-any.whl
| Download URL | hypercurrent_django-1.0.5-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0680a8115779b2389184ce0fd81dd06f52a395b660b9e706024de64d5408a3e0
|
|
BLAKE2b-256 checksum How to use checksums |
636a60582516ccead3523ece1b5311e201a6561eb02b67f95a54febb60df69a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Security for hypercurrent-django 1.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.