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.12.0.tar.gz (95.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.12.0-py3-none-any.whl (116.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wg_utilities-5.12.0.tar.gz
  • Upload date:
  • Size: 95.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.12.0.tar.gz
Algorithm Hash digest
SHA256 8a8963bec8b0bb31f0a99b2d0c7be45a7f30b30129abbf2e6bcb800537859619
MD5 e6cd9519936865a9f80f88fa7d8e247a
BLAKE2b-256 babe395791c376fd41347062bb361517f87b76cb6260cb6217576b84ef2cb5e0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wg_utilities-5.12.0-py3-none-any.whl
  • Upload date:
  • Size: 116.8 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.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cf171452712d60f2fdbf2a782ab344a43ab6200a5e076ea394ccd56230039199
MD5 5028d7a4cd78b4df321d252b2e0d3dd9
BLAKE2b-256 95ce2a1875391ab0d4eeeb9bc04e0a4cbfcfd5a661ea0cda10ed48fdae592912

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