Metadata-Version: 2.4
Name: flareio
Version: 1.2.2
Summary: Python SDK for the flare.io API.
Keywords: flare,sdk
Author: Alexandre Viau
Author-email: Alexandre Viau <alexandre.viau@flare.io>>
License-Expression: MIT
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: Developers
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Requires-Dist: requests>=2
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# python-flareio

`flareio` is a light [Flare API](https://api.docs.flare.io/) SDK that wraps [requests](https://requests.readthedocs.io/) and automatically manages authentication.

Usage examples and use cases are documented in the [Flare API documentation](https://api.docs.flare.io/sdk/python).

## Installing

`flareio` is [available on PyPI](https://pypi.org/project/flareio/).

The library can be installed via `pip install flareio`.

## Basic Usage

```python
import os

from flareio import FlareApiClient


client = FlareApiClient.from_env()

resp = client.get("/tokens/test")

print(resp.json())
```

## Contributing

- `make test` will run tests
- `make check` will run typechecking
- `make format` format will format the code
- `make format-check` will run linting
- `make ci` will run CI equivalent
