Skip to main content

Loads of useful stuff for the things I do :)

Project description

WG Utilities

Code Style codecov GitHub pre-commit.ci status PyPI Ruff image CI Quality Gate Status

Loads of useful stuff for the things I do :)

To-Do List

  • Finish README
  • Add Coverage Badge
  • Sphinx docs

Environment Variables

Name Description Default
HA_LOG_ENDPOINT The HomeAssistant host to send logs to homeassistant.local:8001
SUPPRESS_WG_UTILS_IGNORANCE If set to "1", will suppress warnings about ignored exceptions caught in the on_exception decorator null
WG_UTILITIES_CREDS_CACHE_DIR The directory to store the credentials cache in <App Data Dir>/WgUtilities/oauth_credentials/
WG_UTILITIES_HEADLESS_MODE If set to "1", allows a callback to be provided to OAuth clients instead of opening the auth link directly in the browser. Useful for running on headless devices. "-"
ITEM_WAREHOUSE_HOST The host to use for the Item Warehouse API http://homeassistant.local
ITEM_WAREHOUSE_PORT The port to use for the Item Warehouse API 8002
WAREHOUSE_HANDLER_BACKOFF_MAX_TRIES The maximum number of times to retry a request to the Item Warehouse API
WAREHOUSE_HANDLER_BACKOFF_TIMEOUT The maximum number of seconds to keep retrying requests to the Item Warehouse API 86400

Unit Test Coverage

Fancy coverage chart

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

wg_utilities-5.8.4.tar.gz (89.4 kB view details)

Uploaded Source

Built Distribution

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

wg_utilities-5.8.4-py3-none-any.whl (107.7 kB view details)

Uploaded Python 3

File details

Details for the file wg_utilities-5.8.4.tar.gz.

File metadata

  • Download URL: wg_utilities-5.8.4.tar.gz
  • Upload date:
  • Size: 89.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for wg_utilities-5.8.4.tar.gz
Algorithm Hash digest
SHA256 0ef5e119de60a787047dab907a40c53dd7912da78658be67aa3a029ffec809e1
MD5 30923286456c12c6de79c2554f2862b5
BLAKE2b-256 a27f84a6f7a987704a196fb4a41e13f84850ea59dd73e5749d1f956e99a42c6f

See more details on using hashes here.

File details

Details for the file wg_utilities-5.8.4-py3-none-any.whl.

File metadata

  • Download URL: wg_utilities-5.8.4-py3-none-any.whl
  • Upload date:
  • Size: 107.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for wg_utilities-5.8.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e3c787471352af6e3b4d665d06146a43eadbe241ca9de962c9f9a0ca57b57015
MD5 e7fbdfb05558ed46d5aab045fedc3955
BLAKE2b-256 08da04c713ad55a55fb17c4e8e68ce8f17faf628794692b179a03cb3bce8c5eb

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