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.4.tar.gz (97.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.17.4-py3-none-any.whl (122.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wg_utilities-5.17.4.tar.gz
  • Upload date:
  • Size: 97.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for wg_utilities-5.17.4.tar.gz
Algorithm Hash digest
SHA256 6ebb0422614e035428da0b65eb0b461aad71552d880f6df948bbe9ebedbd115f
MD5 a14d004359bbcd7224c9b94f39a0a391
BLAKE2b-256 e0b788c2ea68b93916d12ce4acef91e7f3200cdd1573f8f2af588d2cf3fa9bc4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wg_utilities-5.17.4-py3-none-any.whl
  • Upload date:
  • Size: 122.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for wg_utilities-5.17.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0678ef7e9d80fdf29fa77c28f8a5a1507a38f6bd70de9cd2b6025b1dad9bf896
MD5 edf81545e6d9a88b9b830978663270c1
BLAKE2b-256 d72630a98ae3fcdbab30183a5950eaba0736bdd597058cbeacdd858633dd4647

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