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:
- Follow the guide to writing a composition function in Python
- Learn about how composition functions work
- Read the package documentation
The RunFunctionRequest and RunFunctionResponse types provided by this SDK
are generated from a proto3 protocol buffer schema. Their fields behave
similarly to built-in Python types like lists and dictionaries, but there are
some differences. Read the generated code documentation to
familiarize yourself with the the differences.
If you just want to jump in and get started, consider using the function-template-python template repository.
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
# Format and lint the code.
hatch fmt
# Run unit tests.
hatch test
# Build an sdist and wheel.
hatch build
Metadata
Release files for crossplane-function-sdk-python 0.15.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| crossplane_function_sdk_python-0.15.1.tar.gz | 61.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| crossplane_function_sdk_python-0.15.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 108.0 kB
Release files / crossplane_function_sdk_python-0.15.1.tar.gz
| Download URL | crossplane_function_sdk_python-0.15.1.tar.gz |
|---|---|
| Size | 61.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2c49c6fe344284e1c4e522f7359c714b25f9e8648b00c1829762a87d13e02a64
|
|
BLAKE2b-256 checksum How to use checksums |
0b954e48575aff1dedd9b29d38d9ee93b6f20cba49b42838de3a5ee0dd1a2a0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / crossplane_function_sdk_python-0.15.1-py3-none-any.whl
| Download URL | crossplane_function_sdk_python-0.15.1-py3-none-any.whl |
|---|---|
| Size | 46.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d8836e5c8f95cc3251345e2fd8cd3bd59380f13781d15227676b056d855ad873
|
|
BLAKE2b-256 checksum How to use checksums |
63a6c7cb56948b2c4bf5a9f53008e68a77ac894d10dd5741fbbcd4aa9eb18500
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for crossplane-function-sdk-python 0.15.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.