Flyte SDK for Python
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
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flytekit-0.21.4.tar.gz.
File metadata
- Download URL: flytekit-0.21.4.tar.gz
- Upload date:
- Size: 393.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa24a1bf4c4a425b0d4e0183c668722f534767366a91add450883e4352312c35
|
|
| MD5 |
66c66c094d097acc689311daed84977f
|
|
| BLAKE2b-256 |
218f70d7d261fd2db80f79b73e198fb18050c06601b01e6549dfe305f370e1cb
|
File details
Details for the file flytekit-0.21.4-py3-none-any.whl.
File metadata
- Download URL: flytekit-0.21.4-py3-none-any.whl
- Upload date:
- Size: 508.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb35d3012280d817ebaa72e3bacba5c036a91cab032ef2a3e4dcdd8936a76a1c
|
|
| MD5 |
a5fb05a55d1edec893bf7b61f4302393
|
|
| BLAKE2b-256 |
b7a920a23cc896bd303e183bc703f3a05555af0d37e0e9478b3c5ee97b53a4d0
|