Skip to content

Commit

Permalink
file organization prior to publication in pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnacioHR committed Mar 30, 2022
1 parent 4eabe7f commit f8c2e8d
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 1 deletion.
File renamed without changes.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# diematic

A Unix service written in Python to monitor De Dietrich boiler equiped with Diematic system using Modbus RS-845 protocol.
The service reads data from the boiler and makes it available to be consumed in two ways:
Optionally, the values fetched from the boiler are sent to an InfluxDB database.
Optionally, a RESTful web server is installed and values can be obtained using GET and modified using POST requests.

Expand Down
9 changes: 9 additions & 0 deletions diematic-server/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
"""
Package definition for the diematic boiler.
We are exposing only the Boiler class. Note that, in order to
create an instance of the Boiler class it is required to read
the configuration file in yaml format that will provide the
registers available in your boiler. There is more information
and examples in the diematicd.py file
"""
from boiler import Boiler
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion launcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ WORKDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
cd $WORKDIR

. ./venv/bin/activate
python diematic.py start
python diematic-server/diematic.py start
Empty file added setup.cfg
Empty file.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""Setup for the pipy package"""

0 comments on commit f8c2e8d

Please sign in to comment.