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

Release files for supergood 2.1.2

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 2.1.2
File Size Uploaded
supergood-2.1.2.tar.gz 17.9 kB Details

Built distribution (wheel)

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

Total release size: 41.1 kB

Release files / supergood-2.1.2.tar.gz

Download URL supergood-2.1.2.tar.gz
Size 17.9 kB
Tags Source
SHA-256 checksum
How to use checksums
68a6c64202d23fc268812b1c118a95a8a324227c59b77d72bafd54cc70fe54cb
BLAKE2b-256 checksum
How to use checksums
4a46b1b4b4042cb8a1ddba21e69c24cc28f32d4de306102c788f4c77cdec96d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

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

Download URL supergood-2.1.2-py3-none-any.whl
Size 23.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3cf9d62ed7e3724e15785d436914eedcb2e881e73c77aeb40e1fdc8116c5bb1c
BLAKE2b-256 checksum
How to use checksums
028699db6ea7f6189e210f2c0f48c978064deb790b2dd170b3900cadd6a29226
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6
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