Skip to main content

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

serverless-sdk-schema-0.2.3.tar.gz (10.5 kB view hashes)

Uploaded Source

Built Distribution

serverless_sdk_schema-0.2.3-py3-none-any.whl (18.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page