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.3.tar.gz (89.3 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.3-py3-none-any.whl (107.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for wg_utilities-5.8.3.tar.gz
Algorithm Hash digest
SHA256 0dbf2a80c08d25159e793b347a27199723c580525e0b2d84e1568195e650b71d
MD5 362115d25383ed33bdf44664b76aaa41
BLAKE2b-256 9e574095d6fd5cc02677a7963d76b0b3035061342a2772e38fd295eeeb3d8d9c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wg_utilities-5.8.3-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.7

File hashes

Hashes for wg_utilities-5.8.3-py3-none-any.whl
Algorithm Hash digest
SHA256 feb531af5d66b43fca2696f477ec1bfce4ce75112f8b28555c4771808a4f7eb3
MD5 907398f0539fd37f2b2fdab4dcd5a3ed
BLAKE2b-256 b8f4daf5ac6cc31f1f04e8b28f100fe74938a3a73b6716e5c4612b50ee86d2be

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