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.9.0.tar.gz (91.2 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.9.0-py3-none-any.whl (111.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wg_utilities-5.9.0.tar.gz
  • Upload date:
  • Size: 91.2 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.9.0.tar.gz
Algorithm Hash digest
SHA256 14cbff6de61bf480bfec4a1dc9666171c0accf1ff37eb5e51c1b69a3e0e778e9
MD5 39d06666cc3b851b571ab050ef676a6d
BLAKE2b-256 23bc396a6e7516320d7c839831333bc832b8f2e2fa8cefd2e0dfe566c8a17a44

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wg_utilities-5.9.0-py3-none-any.whl
  • Upload date:
  • Size: 111.2 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.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bcf9b379668b616c767c6fd1e81756daf82506c6306176126a034b418e50752a
MD5 c402de2d1b311ccbd7849f3f1286db5d
BLAKE2b-256 2c4081b04dd1f864b2c3fea2ccbb0810ac17c55130e94f11339f46aefdd59c13

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