Skip to main content

The library for easily writing feature-rich Python scripts

Project description

Home Assistant Package Manager

Package manager for Home Assistant which allows you to prepare components for a Stateless Docker image.

Installation

pip install hapm

Configuration

A manifest (hapm.yaml) is a list of links, divided into several categories. The links are written in a special format and necessarily have a version with @ in it.

For example: github.com/user/integration@v1.0.0.

The version specifies an existing tag or branch in the specified repository.

A link may not have an https prefix, in which case it will be inserted automatically during the reading phase.

---
integrations:
  - github.com/mishamyrt/dohome_rgb@v0.3.0
  - github.com/mishamyrt/myrt_desk_hass@master

Sync remote packages

hapm

Export

hapm put -t integrations <path>

List

hapm list

Add new package

not yet implemented

hapm get -t integration https://github.com/AlexxIT/XiaomiGateway3

Update

not yet implemented

# Update all packages to latest version
hapm update
# Update all packages to latest version
hapm update <url>
# Only print
hapm update --dry

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

hapm-0.0.1.tar.gz (8.2 kB view hashes)

Uploaded Source

Built Distribution

hapm-0.0.1-py3-none-any.whl (12.2 kB view hashes)

Uploaded Python 3

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