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.
Metadata
Release files for flaightkit 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| flaightkit-0.4.0.tar.gz | 397.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flaightkit-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 911.0 kB
Release files / flaightkit-0.4.0.tar.gz
| Download URL | flaightkit-0.4.0.tar.gz |
|---|---|
| Size | 397.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9e23a6beaf0c0dad57f13b0183cb2fb6e99b1e9b6f7c11e47fd764d2904a499d
|
|
BLAKE2b-256 checksum How to use checksums |
0fb987315aeb5c64c88ade5c1c3a3f5d1eec29225da0abe7dba73c8009527442
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / flaightkit-0.4.0-py3-none-any.whl
| Download URL | flaightkit-0.4.0-py3-none-any.whl |
|---|---|
| Size | 513.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bbeeaff2aa09cd5748fa20cc31ce1be67aae8c0f2e76ffca7a929247c46f88ff
|
|
BLAKE2b-256 checksum How to use checksums |
3c5a6ca6f8c6e365ff8c1cdf4021ecd64822354aa11b6fc2a00f191cb8deb0d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for flaightkit 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.