Skip to main content

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.

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)

Source distribution for frappymongoapibilling 0.1.1
File Size Uploaded
frappymongoapibilling-0.1.1.tar.gz 2.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for frappymongoapibilling 0.1.1
File Interpreter ABI Platform
frappymongoapibilling-0.1.1-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page