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.1.4-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fw_client-2.1.4-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.9

File hashes

Hashes for fw_client-2.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3082622cfe2c3b8c0447ef75e7c6b5804ae64a40a0511d32042b78cd7c15f82a
MD5 643d510a7877fe43986d6361a9324ca0
BLAKE2b-256 d7e82189b3e937b66bbf687d4f233c32609fe4d7631abd13ae58cb7edc21fb34

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