# 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(
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
Raw data
{
"_id": null,
"home_page": "https://github.com/Flared/python-flareio",
"name": "flareio",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "flare, sdk",
"author": "Alexandre Viau",
"author_email": "alexandre.viau@flare.io",
"download_url": "https://files.pythonhosted.org/packages/68/d1/d3d840d4729a9582f4dfd0df3da635d1ead2c8adadc4ebac5dae6e5f3c7b/flareio-0.1.23.tar.gz",
"platform": null,
"description": "# python-flareio\n\n`flareio` is a light [Flare API](https://api.docs.flare.io/) SDK that wraps [requests](https://requests.readthedocs.io/) and automatically manages authentication.\n\nUsage examples and use cases are documented in the [Flare API documentation](https://api.docs.flare.io/sdk/python).\n\n## Installing\n\n`flareio` is [available on PyPI](https://pypi.org/project/flareio/).\n\nThe library can be installed via `pip install flareio`.\n\n## Basic Usage\n\n```python\nimport os\n\nfrom flareio import FlareApiClient\n\n\nclient = FlareApiClient(\n api_key=os.environ[\"FLARE_API_KEY\"],\n tenant_id=None, # Use my default tenant.\n)\n\nresp = client.get(\"/tokens/test\")\n\nprint(resp.json())\n```\n\n## Contributing\n\n- `make test` will run tests\n- `make format` format will format the code\n- `make lint` will run typechecking + linting\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Python SDK for the flare.io API.",
"version": "0.1.23",
"project_urls": {
"Homepage": "https://github.com/Flared/python-flareio",
"Repository": "https://github.com/Flared/python-flareio"
},
"split_keywords": [
"flare",
" sdk"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ceb390a2d066751efb0f1ab996d4f84964b3a626d04fd2d38f0945cbb5a31f97",
"md5": "c5fc1a829ae90962bfd14d4d59ec4e2d",
"sha256": "278cfd80d3f196faefee0eae11f29692e7b88fe1a574775e9abc30838707d1ee"
},
"downloads": -1,
"filename": "flareio-0.1.23-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c5fc1a829ae90962bfd14d4d59ec4e2d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 5094,
"upload_time": "2024-10-04T00:26:51",
"upload_time_iso_8601": "2024-10-04T00:26:51.899455Z",
"url": "https://files.pythonhosted.org/packages/ce/b3/90a2d066751efb0f1ab996d4f84964b3a626d04fd2d38f0945cbb5a31f97/flareio-0.1.23-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "68d1d3d840d4729a9582f4dfd0df3da635d1ead2c8adadc4ebac5dae6e5f3c7b",
"md5": "e16d1adbf157ef9bcb96eb40615ee19f",
"sha256": "95044d015e517c088ca8da2940fc3a0e83b656c7dd7560e8bb26141485d4e0f4"
},
"downloads": -1,
"filename": "flareio-0.1.23.tar.gz",
"has_sig": false,
"md5_digest": "e16d1adbf157ef9bcb96eb40615ee19f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 4218,
"upload_time": "2024-10-04T00:26:53",
"upload_time_iso_8601": "2024-10-04T00:26:53.464078Z",
"url": "https://files.pythonhosted.org/packages/68/d1/d3d840d4729a9582f4dfd0df3da635d1ead2c8adadc4ebac5dae6e5f3c7b/flareio-0.1.23.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-04 00:26:53",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Flared",
"github_project": "python-flareio",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "flareio"
}