Python
The Supergood Python client connects Supergood to your Python application. Follow these steps to integrate with the Python client.
1. Install the Supergood library
pip install supergood
2. Initialize the Supergood Library
Environment variables
Set the environment variables SUPERGOOD_CLIENT_ID and SUPERGOOD_CLIENT_SECRET using the API keys generated in the getting started instructions.
Initialize the Supergood client at the root of your application, or anywhere you're making API calls.
from supergood import Client
Client.initialize()
Passing keys
You can also pass the API keys in manually without setting environment variables.
Replace <CLIENT_ID> and <CLIENT_SECRET> with the API keys you generated in the getting started instructions.
from supergood import Client
Client.initialize(client_id="<CLIENT_ID>", client_secret_id="<CLIENT_SECRET>")
Note: If your application makes use of the multiprocessing library to make API calls, you'll need to initialize a client for each Process.
3. Monitor your API calls
You're all set to use Supergood!
Head back to your dashboard to start monitoring your API calls and receiving reports.
Links
Metadata
Release files for supergood 2.0.0
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 | |
|---|---|---|---|---|
| supergood-2.0.0.tar.gz | 17.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| supergood-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 40.4 kB
Release files / supergood-2.0.0.tar.gz
| Download URL | supergood-2.0.0.tar.gz |
|---|---|
| Size | 17.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2177fb50fe985cb8d32d4a8fa272ce2106a5ce75c8faa542ee3df2364ab50ce5
|
|
BLAKE2b-256 checksum How to use checksums |
d9c34273d85a1c4aab55b3c578a0d9652907773e34faceb2cadcbbe37d6fcb17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.27.0
|
Release files / supergood-2.0.0-py3-none-any.whl
| Download URL | supergood-2.0.0-py3-none-any.whl |
|---|---|
| Size | 22.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4761fc937be4c6d968acbb0fbc9c5dda3a0d9b358c943a1db719e8b55d952372
|
|
BLAKE2b-256 checksum How to use checksums |
9dd1933bdf69e9df9a9acb41f5d065373a965a6935bab63843017d82996e5cb1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.27.0
|
Security for supergood 2.0.0
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.