EnergyFlip client
Client to communicate with the API behind EnergyFlip.
EnergyFlip is an app and measuring device to monitor the usage of electricity and gas in real time.
Installation
pip install energyflip-api-client
Usage
See the example on how to use this library.
Development
This project uses pipenv for dependency and environment management.
Install dependencies using
pipenv install --dev
TODO
Replace use of cumulativeHistory with cumulativeHistoryAggregations, since only the Aggregations part is used.
Testing
Run all tests using
pipenv run pytest
Packaging
Create a package using
python3 setup.py sdist bdist_wheel
This creates a package in dist
Upload the package using
python3 -m twine upload dist/*
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file energyflip_api_client-0.3.0.tar.gz.
File metadata
- Download URL: energyflip_api_client-0.3.0.tar.gz
- Upload date:
- Size: 13.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93fcd2aae18f0e5049b13c9329f1ef4317a0f9d85cd58b773d3231cc27e76e12
|
|
| MD5 |
932988cfdee1a67e5d2461e469d82a9d
|
|
| BLAKE2b-256 |
12bb345c36e0d3264ab3374d3d8e433e2d1dbb12093a0163ddd79217fc46d218
|
Provenance
The following attestation bundles were made for energyflip_api_client-0.3.0.tar.gz:
Publisher:
python-publish.yml on DieEneSchrodinger/energyflip-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
energyflip_api_client-0.3.0.tar.gz -
Subject digest:
93fcd2aae18f0e5049b13c9329f1ef4317a0f9d85cd58b773d3231cc27e76e12 - Sigstore transparency entry: 2336624260
- Sigstore integration time:
-
Permalink:
DieEneSchrodinger/energyflip-client@2e8737ef134981072d43b31543fa0d9e118e7f33 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/DieEneSchrodinger
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@2e8737ef134981072d43b31543fa0d9e118e7f33 -
Trigger Event:
release
-
Statement type:
File details
Details for the file energyflip_api_client-0.3.0-py3-none-any.whl.
File metadata
- Download URL: energyflip_api_client-0.3.0-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
642490a52886d130e746d077096ac35ea895b2756fd1ea71267055d446c7a6d6
|
|
| MD5 |
d5f19e4a0d2610aa5ea98c743e3dff69
|
|
| BLAKE2b-256 |
0d2e3a5d90db3ec326234a285b8090f989b7d58bfddd31a695dcfaaed1e31469
|
Provenance
The following attestation bundles were made for energyflip_api_client-0.3.0-py3-none-any.whl:
Publisher:
python-publish.yml on DieEneSchrodinger/energyflip-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
energyflip_api_client-0.3.0-py3-none-any.whl -
Subject digest:
642490a52886d130e746d077096ac35ea895b2756fd1ea71267055d446c7a6d6 - Sigstore transparency entry: 2336624295
- Sigstore integration time:
-
Permalink:
DieEneSchrodinger/energyflip-client@2e8737ef134981072d43b31543fa0d9e118e7f33 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/DieEneSchrodinger
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@2e8737ef134981072d43b31543fa0d9e118e7f33 -
Trigger Event:
release
-
Statement type: