Frappy Python Mongo Store for API Billing
Python MongoDB Store Implementation for Tracking API Billing Usage.
Installation
pip install frappymongoapibilling --user
This will also install pbu which is required to operate the store implementation.
Usage
from frappymongoapibilling import UsageStore
from frappyapibilling import ApiBilling
# create the store instance
store = UsageStore(mongo_url="mongodb://localhost:27017", mongo_db="myDatabase", collection_name="apiUsage")
# pass the store instance to the api billing constructor
api_billing = ApiBilling(usage_store=store)
See API Billing Usage for details on how to use the module.
Metadata
Release files for frappymongoapibilling 0.1.1
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 |
|---|---|---|---|---|
| frappymongoapibilling-0.1.1.tar.gz | 2.7 kB | Without provenance | Details for frappymongoapibilling-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| frappymongoapibilling-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for frappymongoapibilling-0.1.1-py3-none-any.whl |
Total release size: 9.9 kB
Release files / frappymongoapibilling-0.1.1.tar.gz
| Download URL | frappymongoapibilling-0.1.1.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
35dfb9d0cca9ea6e9d2e17f38a65f26d211b318e13d003a5afb579e4467c4432
|
|
BLAKE2b-256 checksum How to use checksums |
fe984977c96959f5a55fcfecada0a58067024c7e895c32a5c4c969addd60100c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.12
|
Release files / frappymongoapibilling-0.1.1-py3-none-any.whl
| Download URL | frappymongoapibilling-0.1.1-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
756f916120984b0aab18d59bdbe6c80c9f2784d71dde858d36125bf0f4691bcc
|
|
BLAKE2b-256 checksum How to use checksums |
9cf6f3889592558a3fd54ca4489b3b08ecd12a8b4671c4b22cd7417552c9c3c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.12
|
Security for frappymongoapibilling 0.1.1
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.