Skip to main content

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 tests
  • make format format will format the code
  • make lint will run typechecking + linting

Project details


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)

Uploaded Source

Built Distribution

flareio-0.1.25-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

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

Hashes for flareio-0.1.25.tar.gz
Algorithm Hash digest
SHA256 c7837751b2db4aede5a494b05f847332a34246384824d629a7d23c2c1ba9dd7e
MD5 6cffb545766f85fb32781aaf3690700d
BLAKE2b-256 9c78d467121b0bdee42321d59f94f4454ab51e79b70979df2443161748fdb53b

See more details on using hashes here.

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

Hashes for flareio-0.1.25-py3-none-any.whl
Algorithm Hash digest
SHA256 42f7ec67732c7c33e31ffd39a97c71aef09b456cc34a26012f764a8bc6463f43
MD5 1a7105a76ca099c903f58f81a9789fec
BLAKE2b-256 9a2e74876b8646d875a2d9734588d97b73e10fbe2a4c645199c72a481ee634bd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page