flareio


Nameflareio JSON
Version 0.1.25 PyPI version JSON
download
home_pagehttps://github.com/Flared/python-flareio
SummaryPython SDK for the flare.io API.
upload_time2024-10-22 15:49:55
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/9c/78/d467121b0bdee42321d59f94f4454ab51e79b70979df2443161748fdb53b/flareio-0.1.25.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.25",
    "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": "9a2e74876b8646d875a2d9734588d97b73e10fbe2a4c645199c72a481ee634bd",
                "md5": "1a7105a76ca099c903f58f81a9789fec",
                "sha256": "42f7ec67732c7c33e31ffd39a97c71aef09b456cc34a26012f764a8bc6463f43"
            },
            "downloads": -1,
            "filename": "flareio-0.1.25-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1a7105a76ca099c903f58f81a9789fec",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 5090,
            "upload_time": "2024-10-22T15:49:53",
            "upload_time_iso_8601": "2024-10-22T15:49:53.372026Z",
            "url": "https://files.pythonhosted.org/packages/9a/2e/74876b8646d875a2d9734588d97b73e10fbe2a4c645199c72a481ee634bd/flareio-0.1.25-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9c78d467121b0bdee42321d59f94f4454ab51e79b70979df2443161748fdb53b",
                "md5": "6cffb545766f85fb32781aaf3690700d",
                "sha256": "c7837751b2db4aede5a494b05f847332a34246384824d629a7d23c2c1ba9dd7e"
            },
            "downloads": -1,
            "filename": "flareio-0.1.25.tar.gz",
            "has_sig": false,
            "md5_digest": "6cffb545766f85fb32781aaf3690700d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 4200,
            "upload_time": "2024-10-22T15:49:55",
            "upload_time_iso_8601": "2024-10-22T15:49:55.179283Z",
            "url": "https://files.pythonhosted.org/packages/9c/78/d467121b0bdee42321d59f94f4454ab51e79b70979df2443161748fdb53b/flareio-0.1.25.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-22 15:49:55",
    "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: 7.75116s