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.4.0.tar.gz
.
File metadata
- Download URL: flaightkit-0.4.0.tar.gz
- Upload date:
- Size: 397.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.63.1 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e23a6beaf0c0dad57f13b0183cb2fb6e99b1e9b6f7c11e47fd764d2904a499d |
|
MD5 | 3fa3dc966056725a8f8b6972e83d3808 |
|
BLAKE2b-256 | 0fb987315aeb5c64c88ade5c1c3a3f5d1eec29225da0abe7dba73c8009527442 |
File details
Details for the file flaightkit-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: flaightkit-0.4.0-py3-none-any.whl
- Upload date:
- Size: 513.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.63.1 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbeeaff2aa09cd5748fa20cc31ce1be67aae8c0f2e76ffca7a929247c46f88ff |
|
MD5 | 96d1ef888e95e719954875b5d71193b9 |
|
BLAKE2b-256 | 3c5a6ca6f8c6e365ff8c1cdf4021ecd64822354aa11b6fc2a00f191cb8deb0d8 |