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

Documentation

Documentation generated by mkdocs can be found here.

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.17.1.tar.gz (99.9 kB view details)

Uploaded Source

Built Distribution

wg_utilities-5.17.1-py3-none-any.whl (122.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wg_utilities-5.17.1.tar.gz
  • Upload date:
  • Size: 99.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for wg_utilities-5.17.1.tar.gz
Algorithm Hash digest
SHA256 86e52ab6044e03718e6ad6a45b247ae844f21f7116c574c2271b7e0730a41c94
MD5 9351795dcce25edda9e3942299aef52b
BLAKE2b-256 c7179466bc77e51cca4bc8b07703a337970f75fe58951a9245ef82e4b62be348

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wg_utilities-5.17.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c10d0233685f91e45f86def6ee32482515da445dcfd1ca25010bf31a84b0d972
MD5 53ef19a27b6b6cb8bd1502d4146e035a
BLAKE2b-256 fc48e48d4a7e2b9e529e390024c26f78cf100103e12e64d103ef69a9c1b62e5b

See more details on using hashes here.

Supported by

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