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.10.0.tar.gz (91.6 kB view hashes)

Uploaded Source

Built Distribution

wg_utilities-5.10.0-py3-none-any.whl (111.9 kB view hashes)

Uploaded Python 3

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