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.23.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file flareio-0.1.23.tar.gz.

File metadata

  • Download URL: flareio-0.1.23.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for flareio-0.1.23.tar.gz
Algorithm Hash digest
SHA256 95044d015e517c088ca8da2940fc3a0e83b656c7dd7560e8bb26141485d4e0f4
MD5 e16d1adbf157ef9bcb96eb40615ee19f
BLAKE2b-256 68d1d3d840d4729a9582f4dfd0df3da635d1ead2c8adadc4ebac5dae6e5f3c7b

See more details on using hashes here.

File details

Details for the file flareio-0.1.23-py3-none-any.whl.

File metadata

  • Download URL: flareio-0.1.23-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.6

File hashes

Hashes for flareio-0.1.23-py3-none-any.whl
Algorithm Hash digest
SHA256 278cfd80d3f196faefee0eae11f29692e7b88fe1a574775e9abc30838707d1ee
MD5 c5fc1a829ae90962bfd14d4d59ec4e2d
BLAKE2b-256 ceb390a2d066751efb0f1ab996d4f84964b3a626d04fd2d38f0945cbb5a31f97

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