pyxcel: A Simple Python API for Xcel Energy® Data
pyxcel is a simple Python library for energy data from Xcel Energy®.
This library works by repeating the same HTTP requests performed by users who view the Xcel Energy® website. Because there is no official “API,” this library may stop working at any time.
Installation
$ pip install pyxcel
Usage
import pyxcel
client = pyxcel.Client('username', 'password12345')
# Retrieves the account overview (including energy usage, grades, etc.):
client.get_account_overview()
# Retrieves all billing information for the account
client.get_bills()
# Retrives detailed information for a particular premise:
client.get_usages('PREMISE_ID')
Contributing
Check for open features/bugs or initiate a discussion on one.
Install the dev environment:
make init.Enter the virtual environment:
pipenv shellCode your new feature or bug fix.
Write a test that covers your new functionality.
Run tests:
make testBuild new docs:
make docsAdd yourself to AUTHORS.rst.
Submit a pull request!
Metadata
Release files for pyxcel 1.2.1
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 | |
|---|---|---|---|---|
| pyxcel-1.2.1.tar.gz | 12.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyxcel-1.2.1-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 27.8 kB
Release files / pyxcel-1.2.1.tar.gz
| Download URL | pyxcel-1.2.1.tar.gz |
|---|---|
| Size | 12.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b31e7bfd6910363d43f30017bf6b297d25eb994a8ec3ba37836b21a088d4452c
|
|
BLAKE2b-256 checksum How to use checksums |
39f48ded4e9393447c8c4a1d21d4a2ad7a6f73bbde38e9ec51affa7361c476eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pyxcel-1.2.1-py2-none-any.whl
| Download URL | pyxcel-1.2.1-py2-none-any.whl |
|---|---|
| Size | 15.5 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
5ab9718664b6a314623471b6958c55f9ae3876303b210a48be85744d84585920
|
|
BLAKE2b-256 checksum How to use checksums |
ea50f0491cd37fb78a24dd39ab212a653800a49cbd50bce611a0ff83092ab85c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pyxcel 1.2.1
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.