Skip to main content

Flywheel HTTP API client.

Project description

fw-client

Flywheel HTTP JSON API client hardened for production with transport and HTTP error retries.

Installation

# installing into a venv
pip install fw-client

# adding as a project dependency
poetry add fw-client

Usage

from fw_client import FWClient
fw = FWClient("site.flywheel.io:djEuU79cNFk8pk4tLwxybb1YHqhzhyEXAMPLE")
project_labels = [project.label for project in fw.get("/api/projects")]

Linting

pre-commit run -a

Testing

poetry install
poetry run pytest

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fw_client-2.3.1-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file fw_client-2.3.1-py3-none-any.whl.

File metadata

  • Download URL: fw_client-2.3.1-py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.13.13 Linux/5.15.154+

File hashes

Hashes for fw_client-2.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c74496b4e406a8bd00e375a544e2389299f923deae8e6e00155ff0180b212159
MD5 d9a3f87643317a5d1cf4419529562a58
BLAKE2b-256 76b95db1268ceed81c2e529f5e71f98e1e8b1dc75ece633b4c5d144fd7d6959d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page