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?
HACS is a great plugin for Home Assistant, particularly for less tech-savvy users who might not be familiar connecting to a remote machine via SSH or Samba to install a new dependency.
From my limited time using HACS I was disapointed there was no way to "check in" the set of installed dependencies, other than taking a snapshot of the Home Assistant configuration.
Due to this, my config validation pipeline in CI failed (as it had no way to know which dependencies were installed).
Furthermore, the recent security advisory for HACS came to light, which further made me consider whether I wanted such a fully functional addon part of my Home Assistant environment.
Using hass-deps
, references to your dependencies can be checked in to version control, and reinstalled in a reproducible (due to the lockfile functionality in hass-heps
)
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
Built Distribution
File details
Details for the file hass-deps-1.0.8.tar.gz
.
File metadata
- Download URL: hass-deps-1.0.8.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f7b027d7898edcc9edb60c6d7dee02b3efd28b5af8838dfc0a028dfe127aecd |
|
MD5 | 592e77aabd848955211cb676a3eb77f4 |
|
BLAKE2b-256 | 18c54f054176de49b39489f4e4ffe5d7637c73842bfc07e6ad20d88ad93746a9 |
File details
Details for the file hass_deps-1.0.8-py3-none-any.whl
.
File metadata
- Download URL: hass_deps-1.0.8-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d82cf54e3fa6df36a716f81598c0089ca0f3da2e7de0245e9a1fb068589c641 |
|
MD5 | a1810a8d03c433decd685f1e20a2e100 |
|
BLAKE2b-256 | 61c8aa88cdc0bd13254d967bbffc75eb5540781d12c7f075879a4e66e28471d3 |