Skip to main content

3rd party dependency manager for Home Assistant

Project description

hass-deps

An un-opinionated command line dependency manager for Home Assistant

Installing

pip install hass-deps

Usage

hass-deps can be invoked directly from the root of your Home Assistant configuration directory, however the config directory can be specified via the --config-dir switch.

Add a dependency

hass-deps add <dependency source>

e.g.:

hass-deps add https://github.com/nickw444/deebot-t8-hass.git

Install/sync all dependencies

Ensures the local dependencies are in-sync with those defined in the lock file.

hass-deps install

To force reinstallation of dependencies even where installed version matches the lock file version, use the --force switch:

hass-deps install --force

Upgrade a dependency

Upgrading a single dependency to the latest version:

hass-deps upgrade <dependency source>

Upgrading all dependencies to the latest version:

hass-deps upgrade

Why not HACS?

TODO

  • Error when running when no hass-deps.yaml in config
  • Add hass-deps init to write the intial hass-deps.yaml
  • Publish to pypi
  • Support --no-save/--save when adding
  • Better error messages and logging
  • Linting

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hass-deps-0.0.0b1.tar.gz (7.7 kB view hashes)

Uploaded Source

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