python-volkszaehler
Python API for interacting with Volkszaehler. At the moment only the consumption of data is supported. Sorry, uploading is not possible.
This module is not official, developed, supported or endorsed by Volkzaehler.
Installation
The module is available from the Python Package Index.
$ pip3 install volkszaehler
On a Fedora-based system or a CentOS/RHEL host with EPEL.
$ sudo dnf -y install python3-volkszaehler
Usage
The file example.py contains an example about how to use this module.
Basically it’s just a wrapper to get the JSON data from a given UUID which represents the device.
$ curl http://demo.volkszaehler.org/middleware.php/data/57acbef0-88a9-11e4-934f-6b0f9ecd95a8.json
{
"version":"0.3",
"data":{
"tuples":[
[
1521193871692,
0.18,
1
]
],
"uuid":"57acbef0-88a9-11e4-934f-6b0f9ecd95a8",
"from":1521193871682,
"to":1521193871692,
"min":[
1521193871692,
0.18
],
"max":[
1521193871692,
0.18
],
"average":0.18,
"consumption":0,
"rows":2
}
}
Development
For development is recommended to use a venv.
$ python3 -m venv .
$ source bin/activate
$ python3 setup.py develop
License
python-volkszaehler is licensed under MIT, for more details check LICENSE.
Metadata
Release files for volkszaehler 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| volkszaehler-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Release files / volkszaehler-0.1.3-py3-none-any.whl
| Download URL | volkszaehler-0.1.3-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
67eaa35679b48845eeb2ead95ba2bd935a8009caa17089d13616119cd24c5d82
|
|
BLAKE2b-256 checksum How to use checksums |
b19815db3619fb38f1c7bffeb72dda2be041db72d1f5b4b7889ee3a76333fae2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.2 pkginfo/1.4.2 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7
|