Skip to main content

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()

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(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.

Metadata

Release files for supergood 1.1.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for supergood 1.1.10
File Size Uploaded
supergood-1.1.10.tar.gz 17.2 kB Details

Built distribution (wheel)

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

Total release size: 39.5 kB

Release files / supergood-1.1.10.tar.gz

Download URL supergood-1.1.10.tar.gz
Size 17.2 kB
Tags Source
SHA-256 checksum
How to use checksums
3b3b1c42b17fce6209cbb37cd7a2f858525e42383c408d6392eb64dfdef38caf
BLAKE2b-256 checksum
How to use checksums
5adcf6cc5dd4a6fa3f628e4b8bee4157fd9f1d797569e8f12ba4e3c6ccf1743c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.27.0

Release files / supergood-1.1.10-py3-none-any.whl

Download URL supergood-1.1.10-py3-none-any.whl
Size 22.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a7068281e2f9a54def02960dffd13844df954af27ec6354134b9c1841a8987db
BLAKE2b-256 checksum
How to use checksums
13d2a871fe5bfa14f09ae155673b2f613d1ae900d7be7b00b6951ed70a222072
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.27.0
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