fw-client


Namefw-client JSON
Version 0.7.5 PyPI version JSON
download
home_pagehttps://gitlab.com/flywheel-io/tools/lib/fw-client
SummaryFlywheel HTTP API client.
upload_time2024-03-20 16:17:56
maintainerNone
docs_urlNone
authorFlywheel
requires_python<4.0,>=3.8
licenseMIT
keywords flywheel api http client
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # fw-client

Flywheel HTTP API client.

## Installation

Add as a `poetry` dependency to your project:

```bash
poetry add fw-client
```

## Usage

```python
from fw_client import FWClient

fw = FWClient(
    api_key="site.flywheel.io:699uxdIh2wmqtdDyLJ",
    client_name="my-app",
    client_version="1.0",
)
projects = fw.get("/api/projects")
project_labels = [proj.label for proj in projects]
```

## Development

Install the project using `poetry` and enable `pre-commit`:

```bash
poetry install
pre-commit install
```

## License

[![MIT](https://img.shields.io/badge/license-MIT-green)](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.8",
    "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 API client.\n\n## Installation\n\nAdd as a `poetry` dependency to your project:\n\n```bash\npoetry add fw-client\n```\n\n## Usage\n\n```python\nfrom fw_client import FWClient\n\nfw = FWClient(\n    api_key=\"site.flywheel.io:699uxdIh2wmqtdDyLJ\",\n    client_name=\"my-app\",\n    client_version=\"1.0\",\n)\nprojects = fw.get(\"/api/projects\")\nproject_labels = [proj.label for proj in projects]\n```\n\n## Development\n\nInstall the project using `poetry` and enable `pre-commit`:\n\n```bash\npoetry install\npre-commit install\n```\n\n## License\n\n[![MIT](https://img.shields.io/badge/license-MIT-green)](LICENSE)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Flywheel HTTP API client.",
    "version": "0.7.5",
    "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": "e7ac71ae81c353fbed237f056fec66a26a30b0286810e693a1bcf16dd7ca314b",
                "md5": "5e48869cd627ad430853b19cd56df916",
                "sha256": "ba58742042be61b107fb4cdc7feea0b769a2c17441d742b108188cfb6e380f52"
            },
            "downloads": -1,
            "filename": "fw_client-0.7.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5e48869cd627ad430853b19cd56df916",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8",
            "size": 9505,
            "upload_time": "2024-03-20T16:17:56",
            "upload_time_iso_8601": "2024-03-20T16:17:56.721300Z",
            "url": "https://files.pythonhosted.org/packages/e7/ac/71ae81c353fbed237f056fec66a26a30b0286810e693a1bcf16dd7ca314b/fw_client-0.7.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-20 16:17:56",
    "github": false,
    "gitlab": true,
    "bitbucket": false,
    "codeberg": false,
    "gitlab_user": "flywheel-io",
    "gitlab_project": "tools",
    "lcname": "fw-client"
}
        
Elapsed time: 0.21635s