Envoy Schema - a collection of pydantic models compatible with the Envoy utility server
Project description
envoy-schema - forked for Synergy storage extension
This is a forked project with a long lived branch which implements the CSIP-Aus storage extension (https://csipaus.org/ns/v1.3-beta/storage) proposed by Synergy
The original project, which focuses implementation on the current accepted CSIP-Aus standards, is developed by BSGIP here
Assumed workflow
This repository's main branch is intended to always follow the original BSGIP main e.g. using GitHub's built in "Sync Fork" feature
Whenever a "sync" occurs, efforts should be made to merge these into the longlived csipaus.org/ns/v1.3-beta/storage branch
All changes that can apply to both repositories/branches is preferred to be resolved by raising a pull request against the original BSGIP main and then merging this into main. Of course this could be too slow for implementation purposes and should be reviewed on a case by case basis.
All remaining sections should reflect the original documentation as part of the original repository.
envoy-schema
Public schema for the models/schema associated all envoy API endpoints.
This repository was built as a shared dependency for the envoy utility server and any external clients wishing to integrate.
Envoy: https://github.com/bsgip/envoy
Envoy Server Models
The models served under envoy_schema.server are derived from the following standards:
- IEEE: Smart Energy Profile (2030.5-2018)
- Sunspec: Common Smart Inverter Profile
- Common Smart Inverter Profile (Australia)
Versioning
The main branch is the active development branch. Releases will be tagged off the associated release branch.
| CSIP-Aus Version | envoy-schema versions | release branches |
|---|---|---|
v1.1a |
v0.*, v1.* |
csipaus.org/ns/v1.2 |
v1.2 |
v0.*, v1.* |
csipaus.org/ns/v1.2 |
v1.3 |
v2.* |
csipaus.org/ns/v1.3 |
Envoy Admin Models
The models served under envoy_schema.admin are typically only used for services directly integrating with the envoy utility server (via the admin server). This is for machine-machine services that are not typically exposed externally.
Installation
Install directly from pypi
pip install envoy_schema
Development
To install envoy-schema for development purposes, after cloning this repository:
pip install -e .[dev, test]
pytest
We use the following linting/formatting tools:
Contributions via a pull request are welcome but will be validated using the above tools.
Tests can be run with: pytest from the root directory.
Project details
Release history Release notifications | RSS feed
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 envoy_schema-2.0.0.tar.gz.
File metadata
- Download URL: envoy_schema-2.0.0.tar.gz
- Upload date:
- Size: 42.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24730b8cc171cf78ef93004c164bc74d2ccab79ed8957cd8087ec73f04ee4423
|
|
| MD5 |
ddb0aa5eb04e729ba4a91a7f014e715a
|
|
| BLAKE2b-256 |
eeaf5f06826bdc468d773f413479c40713113d009d676f378d5844066714d77c
|
File details
Details for the file envoy_schema-2.0.0-py3-none-any.whl.
File metadata
- Download URL: envoy_schema-2.0.0-py3-none-any.whl
- Upload date:
- Size: 53.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82283bf55658f26e0b8f2309676002cd323937bb8286bfa45d454e0a55b21881
|
|
| MD5 |
ce94e1d9e23217c8373eb18781b66428
|
|
| BLAKE2b-256 |
fc563e91f157f10d8624e861c7476ebe06616de1279b61e60195bac48c188a06
|