# fw-client
Flywheel HTTP JSON API client hardened for production with transport and HTTP error retries.
## Installation
```bash
# installing into a venv
pip install fw-client
# adding as a project dependency
poetry add fw-client
```
## Usage
```python
from fw_client import FWClient
fw = FWClient("site.flywheel.io:djEuU79cNFk8pk4tLwxybb1YHqhzhyEXAMPLE")
project_labels = [project.label for project in fw.get("/api/projects")]
```
## Linting
```bash
pre-commit run -a
```
## Testing
```bash
poetry install
poetry run pytest
```
## License
[](LICENSE)
Raw data
{
"_id": null,
"home_page": "https://gitlab.com/flywheel-io/tools/lib/fw-client",
"name": "fw-client",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.10",
"maintainer_email": null,
"keywords": "Flywheel, API, HTTP, client",
"author": "Flywheel",
"author_email": "support@flywheel.io",
"download_url": null,
"platform": null,
"description": "# fw-client\n\nFlywheel HTTP JSON API client hardened for production with transport and HTTP error retries.\n\n## Installation\n\n```bash\n# installing into a venv\npip install fw-client\n\n# adding as a project dependency\npoetry add fw-client\n```\n\n## Usage\n\n```python\nfrom fw_client import FWClient\nfw = FWClient(\"site.flywheel.io:djEuU79cNFk8pk4tLwxybb1YHqhzhyEXAMPLE\")\nproject_labels = [project.label for project in fw.get(\"/api/projects\")]\n```\n\n## Linting\n\n```bash\npre-commit run -a\n```\n\n## Testing\n\n```bash\npoetry install\npoetry run pytest\n```\n\n## License\n\n[](LICENSE)\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Flywheel HTTP API client.",
"version": "2.1.1",
"project_urls": {
"Documentation": "https://gitlab.com/flywheel-io/tools/lib/fw-client",
"Homepage": "https://gitlab.com/flywheel-io/tools/lib/fw-client",
"Repository": "https://gitlab.com/flywheel-io/tools/lib/fw-client"
},
"split_keywords": [
"flywheel",
" api",
" http",
" client"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5f235dab2b6ab9be1b0a1670c0098056332784c4f3e71fe314ff7cfac6ba66af",
"md5": "2d697ac4cd04b998cc4818e7ee2eb806",
"sha256": "9d77fefcc1239e3101b4a27c61f1ec38a1047115254ae19d41156171162c465e"
},
"downloads": -1,
"filename": "fw_client-2.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2d697ac4cd04b998cc4818e7ee2eb806",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.10",
"size": 13309,
"upload_time": "2025-02-12T13:57:21",
"upload_time_iso_8601": "2025-02-12T13:57:21.805679Z",
"url": "https://files.pythonhosted.org/packages/5f/23/5dab2b6ab9be1b0a1670c0098056332784c4f3e71fe314ff7cfac6ba66af/fw_client-2.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-12 13:57:21",
"github": false,
"gitlab": true,
"bitbucket": false,
"codeberg": false,
"gitlab_user": "flywheel-io",
"gitlab_project": "tools",
"lcname": "fw-client"
}