flareio


Nameflareio JSON
Version 0.2.1 PyPI version JSON
download
home_pagehttps://github.com/Flared/python-flareio
SummaryPython SDK for the flare.io API.
upload_time2025-02-18 17:52:27
maintainerNone
docs_urlNone
authorAlexandre Viau
requires_python>=3.8
licenseMIT
keywords flare sdk
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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/2d/d3/c0c592caf7bef9da2113394f3347bd29a65688aa38d487a8a1c99bb0ebbc/flareio-0.2.1.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.2.1",
    "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": "9b3975b4f040ac1f64647365daeff079f8fb5c11a15fe41463da56691526628e",
                "md5": "9ebb8b03f58772e4bc2c40a1ff043022",
                "sha256": "17e063756bcdb7aa51293795e6e3086f3f5a26fde860a7f202ae567a1e9e0e87"
            },
            "downloads": -1,
            "filename": "flareio-0.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9ebb8b03f58772e4bc2c40a1ff043022",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 5206,
            "upload_time": "2025-02-18T17:52:26",
            "upload_time_iso_8601": "2025-02-18T17:52:26.409122Z",
            "url": "https://files.pythonhosted.org/packages/9b/39/75b4f040ac1f64647365daeff079f8fb5c11a15fe41463da56691526628e/flareio-0.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2dd3c0c592caf7bef9da2113394f3347bd29a65688aa38d487a8a1c99bb0ebbc",
                "md5": "63589453c5a3ca79d8972aa649df7d6b",
                "sha256": "214fc1e11207c78afbe05e2c1dd7605ada71268cf4340d111557e7011ea8fae8"
            },
            "downloads": -1,
            "filename": "flareio-0.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "63589453c5a3ca79d8972aa649df7d6b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 4301,
            "upload_time": "2025-02-18T17:52:27",
            "upload_time_iso_8601": "2025-02-18T17:52:27.395070Z",
            "url": "https://files.pythonhosted.org/packages/2d/d3/c0c592caf7bef9da2113394f3347bd29a65688aa38d487a8a1c99bb0ebbc/flareio-0.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-18 17:52:27",
    "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"
}
        
Elapsed time: 0.91192s