Envoy Schema - a collection of pydantic models compatible with the Envoy utility server
Project description
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)
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-0.12.0.tar.gz.
File metadata
- Download URL: envoy_schema-0.12.0.tar.gz
- Upload date:
- Size: 31.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c5f00424e44ab908c9360c7b1bd641552f5a3ad5014009bbb04c9f31b0d505c
|
|
| MD5 |
391aa94df8e4711d5ad223f40c39af5e
|
|
| BLAKE2b-256 |
3f7281b7eb1542c4f2304769bc7339c38282d4a6e5baf50f74bba8bf37d61f67
|
File details
Details for the file envoy_schema-0.12.0-py3-none-any.whl.
File metadata
- Download URL: envoy_schema-0.12.0-py3-none-any.whl
- Upload date:
- Size: 41.2 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 |
3afe7de0466d7fcd86f59ad0fa99fa6bbdda46fae5de895e6c59a48071bfa9ce
|
|
| MD5 |
9d40c4c66022bac1935d1850546dcfae
|
|
| BLAKE2b-256 |
45df874ebe0c64aa3b81982055d6b258eeb6706408eb02f785a14101a159c41d
|