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

Uploaded Source

Built Distribution

flareio-0.1.24-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: flareio-0.1.24.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.24.tar.gz
Algorithm Hash digest
SHA256 bb0e696b450b152e80d9fdd7fb3c25816faddbe7de5265a39f4d0e9d49c3cef8
MD5 08fa3917c5ee6fc23b3d80da8e6df1ef
BLAKE2b-256 32cb0d67057c59cbce62707f030ff6e8a040da3143b8a592ad241036c9e073b3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: flareio-0.1.24-py3-none-any.whl
  • Upload date:
  • Size: 5.0 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.24-py3-none-any.whl
Algorithm Hash digest
SHA256 56a2522a212809310aeefa5e12ec9690f64866ccb9cbc61fb49911a545264f5b
MD5 9b14e04dccdbc8f4cd6d2007d930ee1d
BLAKE2b-256 2ff0c02ace3bf44734407fcd0eebb7744b8224e259c6dda30691f68ad7a1c463

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