Flyte SDK for Python (Latch fork)
Project description
Flytekit
Python Library for easily authoring, testing, deploying, and interacting with Flyte tasks, workflows, and launch plans. To understand more about Flyte please refer to,
Installation
Flytekit is the core extensible library to author Flyte workflows and tasks and interact with Flyte Backend services. Flyte plugins can be installed separately.
Base Installation
pip install flytekit
Simple getting started
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))
Learn Flytekit by example using
Contributions and Issues
Please see the contributor guide and file issues against the main Flyte repo.
Plugins:
Refer to plugins/README.md for a list of available plugins. There may be plugins outside of this list, but this list is maintained by the core maintainers.
Project details
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 flaightkit-0.2.0.tar.gz
.
File metadata
- Download URL: flaightkit-0.2.0.tar.gz
- Upload date:
- Size: 396.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a97298cb66c24fe4cf83183e5a496c7734f36cbfd0c8d50ec37bc259517f900 |
|
MD5 | 008c912efda7a737083b909057650a11 |
|
BLAKE2b-256 | 724a8bd85a6f39fc9635f903a1c98762f436db1f4761dedc6881f37e117c147c |
File details
Details for the file flaightkit-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: flaightkit-0.2.0-py3-none-any.whl
- Upload date:
- Size: 513.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5ab9cefeb40f587aa8f858dddc97c166b3fec4e34680cb8fcd30a1216e9ca75 |
|
MD5 | bb692b2cc0eb27a9387bbc36e2cf5337 |
|
BLAKE2b-256 | b6e0d532ed620bbf52c9aac88ee2a61f3d24d738ef3cd23bb99a272c16a4782d |