Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 685 Bytes

README.md

File metadata and controls

44 lines (33 loc) · 685 Bytes

low_voltage

Low voltage interface : Low PowerSupply HMP4040

Developer instructions

Local installation:

conda create -n low_voltage python=3.9
conda activate low_voltage
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements/local.txt
python3 -m pip install -e .  

Dockerfile

To create centos:low_votage image with necessary packages.

docker build -t low_voltage:centos .

Docker stack

To start the mqtt broker

cd docker/tedd_low_voltage
docker-compose up -d 

Unit tests and linting

No unit test for hmp.py Black:

black . --exclude _actions

Unit tests:

cd unittests
pytest