Flyte SDK for Python
Project description
Flytekit Python
Flytekit Python is the Python SDK built on top of Flyte
Plugins · Contribution Guide
Flytekit Python is the Python Library for easily authoring, testing, deploying, and interacting with Flyte tasks, workflows, and launch plans.
If you haven't explored Flyte yet, please refer to:
🚀 Quick Start
Flytekit is the core extensible library to author Flyte workflows and tasks and interact with Flyte backend services.
Installation
pip install flytekit
A Simple Example
from flytekit import task, workflow
@task(cache=True, cache_version="1", retries=3)
def sum(x: int, y: int) -> int:
return x + y
@task(cache=True, cache_version="1", retries=3)
def square(z: int) -> int:
return z*z
@workflow
def my_workflow(x: int, y: int) -> int:
return sum(x=square(z=x), y=square(z=y))
📦 Resources
📖 How to Contribute to Flytekit
You can find the detailed contribution guide here. Plugins' contribution guide is included as well.
Code Structure
Please see the contributor's guide for a quick summary of how this code is structured.
🐞 File an Issue
Refer to the issues section in the contribution guide if you'd like to file an issue.
🔌 Flytekit Plugins
Refer to plugins/README.md for a list of available plugins. There may be plugins outside of this list, but the core maintainers maintain this list.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file lytekit-0.15.13.tar.gz
.
File metadata
- Download URL: lytekit-0.15.13.tar.gz
- Upload date:
- Size: 295.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 147449e255d3bbc13d6f7a39f32f18c891295f38f9bc7e0f9754f546c8aa3a69 |
|
MD5 | 3f52f16134479fbdc3c5c8f62088e36e |
|
BLAKE2b-256 | 0a5420266d5b9bfe6fa56fe5a0366f8bb550e18e4ecb635ed8e7b27774a297f9 |
File details
Details for the file lytekit-0.15.13-py3-none-any.whl
.
File metadata
- Download URL: lytekit-0.15.13-py3-none-any.whl
- Upload date:
- Size: 389.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4565a4df2a3cad2aadc02f325923eddf55672921884a839ce7cfeb10ba4cec38 |
|
MD5 | 631336bc27c92114215298d42f6a8d6c |
|
BLAKE2b-256 | ea3fd9bbd2b97eddeae3e7a86abde1f7444cca9b6a578a71f6fa8a3a53c791f6 |