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.0.tar.gz (89.1 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.0-py3-none-any.whl (107.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wg_utilities-5.8.0.tar.gz
  • Upload date:
  • Size: 89.1 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.0.tar.gz
Algorithm Hash digest
SHA256 da533511ca9c53d27586ec980d3e2b26d5284eae5b61b5a8f04970890bbb6e09
MD5 15ed7e13860790987788ca05eeb6c040
BLAKE2b-256 d6e5a099c535ce71f0c5c99227f0496a168b4e9238b8d396e5dd9769aabb0d90

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wg_utilities-5.8.0-py3-none-any.whl
  • Upload date:
  • Size: 107.5 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fa9be9ebd979b162c233d4ca0464f166efc7ef2340c56f1ef386d2f525eb5f6a
MD5 4f94042f8d92811d746895ab5fcc38dd
BLAKE2b-256 6ca8b497cf63737fe5a27f858cc3476bffc36c7d54986c445245dac880886b50

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