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

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.1
File Size Uploaded
crossplane_function_sdk_python-0.15.1.tar.gz 61.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for crossplane-function-sdk-python 0.15.1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.15.1 This release

2 release files

0.15.0

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