Python SDK for the flare.io API.
Project description
python-flareio
flareio
is a light Flare API SDK that wraps requests and automatically manages authentication.
Usage examples and use cases are documented in the Flare API documentation.
Installing
flareio
is available on PyPI.
The library can be installed via pip install flareio
.
Basic Usage
import os
from flareio import FlareApiClient
client = FlareApiClient(
api_key=os.environ["FLARE_API_KEY"],
tenant_id=None, # Use my default tenant.
)
resp = client.get("/tokens/test")
print(resp.json())
Contributing
make test
will run testsmake format
format will format the codemake lint
will run typechecking + linting
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flareio-0.1.25.tar.gz
(4.2 kB
view details)
Built Distribution
File details
Details for the file flareio-0.1.25.tar.gz
.
File metadata
- Download URL: flareio-0.1.25.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7837751b2db4aede5a494b05f847332a34246384824d629a7d23c2c1ba9dd7e |
|
MD5 | 6cffb545766f85fb32781aaf3690700d |
|
BLAKE2b-256 | 9c78d467121b0bdee42321d59f94f4454ab51e79b70979df2443161748fdb53b |
File details
Details for the file flareio-0.1.25-py3-none-any.whl
.
File metadata
- Download URL: flareio-0.1.25-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42f7ec67732c7c33e31ffd39a97c71aef09b456cc34a26012f764a8bc6463f43 |
|
MD5 | 1a7105a76ca099c903f58f81a9789fec |
|
BLAKE2b-256 | 9a2e74876b8646d875a2d9734588d97b73e10fbe2a4c645199c72a481ee634bd |