The protobuf generated Serverless SDK Schema
Project description
Serverless SDK Schema
This is the auto generated Python package from the Serverless Protobufs. Serverless uses Protobufs as the required format for all instrumentation libraries that communicate with the Serverless Platform.
Build
To build the sdk-schema package from source, follow these steps:
# cd to the root directory of repo
python3.9 -m venv .venv
source .venv/bin/activate
brew install protobuf
brew install bufbuild/buf/buf
cd ./proto
buf build
buf generate --template=buf.gen.python.yaml
cd ../python/packages/sdk-schema
pip install . --target=./dist
python -m build --wheel --sdist .
Unit tests
To run the unit tests, replace the last two steps of the Build
step with these:
pip install '.[tests]'
python3 -m pytest
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
Close
Hashes for serverless-sdk-schema-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1972cd51ccbf76decefbdc34ecd27d423c1229f4211d7399c61479297878168 |
|
MD5 | dbb9f33dbd02b95a1786f66bbde21ef0 |
|
BLAKE2b-256 | a4c55fb28decfbf2ecb450acc90ef289b9dbd95baa7d2e215dc8b3b483ee3ca3 |
Close
Hashes for serverless_sdk_schema-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa978d23a4d01fc72def815a6b247d295c645b1c5b1916882be0e437108a3a92 |
|
MD5 | 79f5c751c5cc966eb1fcd2755da81ed8 |
|
BLAKE2b-256 | e4a92525bc61dfc14e6ed3b7130240430ea65822e1413a90d59a98e2760f1e5c |