python-dlt645

A basic DL/T645-2007 communication implementation


License
MIT
Install
pip install python-dlt645==0.1.0

Documentation

python-dlt645 - A basic DL/T645-2007 communication implementation

An incomplete implementation of the DL/T645 protocol designed to communicate with energy meters through an infrared interface.

Getting started

To isntall the DL/T645 package only:

$ pip install python-dlt645

To install the package with the utility CLI commands:

$ pip install python-dlt645[cli]

Development

When cloning the repository for the first time:

$ poetry install
$ pre-commit install

Tests pre commit

$ black --diff dlt645/
$ flake8 dlt645/

Documentation

Build the documentation:

$ make docs