smeterd_exporter
A prometheus exporter for your smart meter.
installation
smeterd_exporter is fully python 2.7 and python 3.4 compatible.
It is highly recommended to use virtual environemnts for this:
$ pyvenv my_virtual_env $ cd my_virtual_env $ . bin/activate
After having your virtual environment installed and activated run the following command to install the smeterd package directly from pypi (using pip):
$ pip install smeterd_exporter
Alternatively you can manually clone smeterd_exporter and run setupttools setup.py:
$ git clone https://github.com/nrocco/smeterd_exporter.git $ cd smeterd_exporter $ python setup.py install
This will install the needed python libraries which are needed to start reading P1 packets.
If you don’t want to install smeterd_exporter as a package you can run it directly from the root directory of the git repository using the following command but you are responsible for manually installing dependencies:
$ python -m smeterd_exporter
To install the required dependencies manually see requirements.txt or simply run:
$ pip install -r requirements.txt
usage
TODO
contribute
Fork it
Create your feature branch (git checkout -b my-new-feature)
Commit your changes (git commit -am ‘Add some feature’)
Make sure that tests pass (make test)
Push to the branch (git push origin my-new-feature)
Create new Pull Request
Metadata
Release files for smeterd_exporter 0.9.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| smeterd_exporter-0.9.2.tar.gz | 3.8 kB | Without provenance | Details for smeterd_exporter-0.9.2.tar.gz |
Release files / smeterd_exporter-0.9.2.tar.gz
| Download URL | smeterd_exporter-0.9.2.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ddbf866be789e4672450d5bf0ddaa978e024460fde318f59e909b477ce25b065
|
|
BLAKE2b-256 checksum How to use checksums |
4c7ea56f189b06905ec93959cb27a1220e541697da7f73937937d93eac2becf4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for smeterd_exporter 0.9.2
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.