No project description provided
Project description
sen-api 
A command-line tool to interact with Servizio Elettrico Nazionale web services.
Features
Currently implemented:
- Bills informations and download in PDF format
- Some client informations
- Consumption readings
- Optional JSON output
Implementing in the future:
- More client informations
- Other stuff (*see below)
*Interacting with SEN web services is a real pain since it's such badly designed so I don't really know if I will keep adding more features.
Installing
From source:
python setup.py install --user
Or in editable mode:
pip install -e ./
From pip:
pip install sen-api
Usage
Usage: sen-api [OPTIONS] COMMAND [ARGS]...
Options:
--version Show the version and exit.
-v, --verbose Enable verbose logs.
-j, --json Print in JSON format when possible.
--help Show this message and exit.
Commands:
authenticate
bills
client-info
readings
Authentication
Usage: sen-api authenticate [OPTIONS]
Options:
-u, --username TEXT
-p, --password TEXT
-f, --force Force authentication using saved credentials.
--help Show this message and exit.
Bills
Readings
Project details
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 sen-api-0.1.1.tar.gz.
File metadata
- Download URL: sen-api-0.1.1.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3704fe1ff372feacc2485177cfb946c5270e22a5222dba3312db15bdf8eb3c3
|
|
| MD5 |
02607bb3392e6a5dfa4d09ee312ea675
|
|
| BLAKE2b-256 |
89c150831b5366a5d856972749e3bbaeb7e81e7ad828cca4f989e97b2805961c
|
File details
Details for the file sen_api-0.1.1-py3-none-any.whl.
File metadata
- Download URL: sen_api-0.1.1-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2dcbd24db11987bafcf3af51fa6ba878d5c38a252859fc3d1ea69b72320584b8
|
|
| MD5 |
1cb466d99aef7ec6a949001343233067
|
|
| BLAKE2b-256 |
a7ff604c471fee76651ac06b606c970a78d6293cf6da15878fe75147a11de1c2
|