Skip to main content

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

For Nix or NixOS users is a package available. Keep in mind that the latest releases might only be present in the unstable channel.

$ nix-env -iA nixos.python39Packages.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.

$ http https://demo.volkszaehler.org/middleware.php/data/57acbef0-88a9-11e4-934f-6b0f9ecd95a8.json
[...]
{
    "data": {
        "average": 0.01,
        "consumption": 38.099,
        "from": 1584390593336,
        "max": [
            1597701600000,
            0.01
        ],
        "min": [
            1597701600000,
            0.01
        ],
        "rows": 3,
        "to": 1598106085887,
        "tuples": [
            [
                1597701600000,
                0.01,
                1
            ],
            [
                1598106085887,
                0.01,
                1
            ]
        ],
        "uuid": "57acbef0-88a9-11e4-934f-6b0f9ecd95a8"
    },
    "version": "0.3"
}

License

python-volkszaehler is licensed under MIT, for more details check LICENSE.

Metadata

Release files for volkszaehler 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for volkszaehler 0.6.0
File Size Uploaded Provenance Actions
volkszaehler-0.6.0.tar.gz 4.9 kB Without provenance Details for volkszaehler-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for volkszaehler 0.6.0
File Interpreter ABI Platform Actions
volkszaehler-0.6.0-py3-none-any.whl Python 3 none any Details for volkszaehler-0.6.0-py3-none-any.whl

Total release size: 9.1 kB

Release files / volkszaehler-0.6.0.tar.gz

Download URL volkszaehler-0.6.0.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2b61fc33d31dc2a22f9616751f7c118c5cdf643ddf6c2470537e488649ce9e8e
BLAKE2b-256 checksum
How to use checksums
bd2d5ac1952dfaecd1bfc9c7f574a4ace66d0a3167f6018957252de4a3c1a166
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release files / volkszaehler-0.6.0-py3-none-any.whl

Download URL volkszaehler-0.6.0-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7959735eea6933dc314fa2b977f22db351d8c2b9552c3ecc071fc3f446c9d485
BLAKE2b-256 checksum
How to use checksums
ab8d22a442ebddbe08ca25be6f27355e8a78b10ac22a0efa2c8a7b98466dde38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Security for volkszaehler 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page