gams / python-dlt645

A basic DL/T645-2007 communication implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A basic DL/T645-2007 communication implementation

License:MIT License


Languages

Language:Python 99.7%Language:Makefile 0.3%