Skip to content

Flared/python-flareio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4c583f3 · Oct 4, 2024
Aug 18, 2024
Sep 15, 2024
Sep 15, 2024
Aug 15, 2024
Aug 18, 2024
Aug 15, 2024
Aug 18, 2024
Aug 15, 2024
Aug 19, 2024
Sep 15, 2024
Aug 18, 2024
Oct 4, 2024
Aug 15, 2024

Repository files navigation

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