Skip to main content

function-sdk-python

CI GitHub release (latest SemVer) PyPI - Version

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:

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.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for crossplane-function-sdk-python 0.15.0
File Size Uploaded
crossplane_function_sdk_python-0.15.0.tar.gz 61.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for crossplane-function-sdk-python 0.15.0
File Interpreter ABI Platform
crossplane_function_sdk_python-0.15.0-py3-none-any.whl Python 3 none any Details

Total release size: 107.8 kB

Release files / crossplane_function_sdk_python-0.15.0.tar.gz

Download URL crossplane_function_sdk_python-0.15.0.tar.gz
Size 61.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2c5d84129dfd88b78441b3e1054f01a82b8c72276cb87f8f2560c345e1cc5e47
BLAKE2b-256 checksum
How to use checksums
d82733be2aaa98602e3e12b703b523216215403cf131c72072bc3c43380b96fe
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.0-py3-none-any.whl

Download URL crossplane_function_sdk_python-0.15.0-py3-none-any.whl
Size 46.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
07780430c000cdc175323b59c3d1de47325c43c6a226ce9117be9a7a3baf7081
BLAKE2b-256 checksum
How to use checksums
b903d744e5f8d0797fc373bbd20cfd0cf5df83cd5e6405824c28c4065024c3e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

0.15.1

2 release files

This release

0.15.0 This release

2 release files

0.14.0

2 release files

0.12.0

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page