Pre-release
This release is a pre-release and may not be stable for production use.
Zepben EWB Python SDK
The Python EWB SDK contains everything necessary to communicate with a Zepben Energy Workbench Server. See the complete EWB Python SDK Documentation for more details.
Requirements
- Python 3.10 - 3.14 inclusive
Installation
pip install zepben.ewb
Building
python setup.py bdist_wheel
Usage
See EWB Python SDK Documentation.
Zepben Auth Library
This library provides Authentication mechanisms for Zepben SDKs used with Energy Workbench and other Zepben services.
Typically, this library will be used by the SDKs to plug into connection mechanisms. It is unlikely that end users will need to use this library directly.
Example Usage
from zepben.ewb.client import get_token_fetcher
authenticator = get_token_fetcher(
issuer="https://login.microsoftonline.com/293784982371c-8797-4168-a5e7-923874928734/v2.0/",
audience="49875987458e-e217-4c8f-abf6-394875984758",
client_id="asdaf98798-0584-41c3-b30c-1f9874596da",
username="",
password=""
)
authenticator.token_request_data.update({
'grant_type': 'client_credentials',
'client_secret': 'W.Tt5KSzX6Q28lksdajflkajsdflkjaslkdjfxx',
'client_id': 'asdaf98798-0584-41c3-b30c-1f9874596da',
'scope': '9873498234-e217-4c8f-abf6-9789889987/.default'})
print(authenticator.fetch_token())
Release files for zepben.ewb 1.4.0b11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| zepben_ewb-1.4.0b11.tar.gz | 414.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zepben_ewb-1.4.0b11-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.2 MB
Release files / zepben_ewb-1.4.0b11.tar.gz
| Download URL | zepben_ewb-1.4.0b11.tar.gz |
|---|---|
| Size | 414.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fd3d11008f66da945d5e754274b999740e606efa76a117249a4f1f84e87ebb6d
|
|
BLAKE2b-256 checksum How to use checksums |
0d54f5bb3de2ae25eb249baae9bde453891e57cb1e799b2756464847f301ccf3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.20
|
Release files / zepben_ewb-1.4.0b11-py3-none-any.whl
| Download URL | zepben_ewb-1.4.0b11-py3-none-any.whl |
|---|---|
| Size | 788.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9994448e70d013d6766c1d89b43fb2dc4aed4e404ad8425d1f424a13b71c9701
|
|
BLAKE2b-256 checksum How to use checksums |
1f2062d44b69b612379fdc46083d818bae7a3827a6e3204290741d6a2e2f1cf5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.20
|