I prototyped this in https://github.com/negz/function-auto-python. Signed-off-by: Nic Cope <nicc@rk0n.org> |
||
---|---|---|
.github | ||
crossplane/function | ||
tests | ||
.gitignore | ||
LICENSE | ||
README.md | ||
pyproject.toml |
README.md
function-sdk-python
The Python SDK for writing composition functions.
This SDK is currently a beta. We try to avoid breaking changes, but it will not have a stable API until it reaches v1.0.0. It follows the same contributing guidelines as Crossplane.
To learn how to use this SDK:
Contributing
This project follows the Crossplane contributing guidelines, where applicable to Python. It is linted, tested, and built using Hatch.
Some useful commands:
# Generate gRPC stubs.
hatch run generate:protoc
# Lint the code, using ruff.
hatch run lint:check
hatch run lint:check-format
# Run unit tests.
hatch run test:unit
# Build an sdist and wheel
hatch build