Skip to main content

Flyte SDK for Python (Latch fork)

Project description

Flytekit

PyPI version fury.io PyPI download day PyPI download month PyPI format PyPI implementation Codecov PyPI pyversions Docs Code style: black

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

flaightkit-0.1.0.tar.gz (394.9 kB view details)

Uploaded Source

Built Distribution

flaightkit-0.1.0-py3-none-any.whl (510.6 kB view details)

Uploaded Python 3

File details

Details for the file flaightkit-0.1.0.tar.gz.

File metadata

  • Download URL: flaightkit-0.1.0.tar.gz
  • Upload date:
  • Size: 394.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.62.1 importlib-metadata/4.6.4 keyring/23.1.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.6

File hashes

Hashes for flaightkit-0.1.0.tar.gz
Algorithm Hash digest
SHA256 05a0e2f0b079561f4478c0b60eea66d2f0f6ba390ea940902d09736e1f84f29f
MD5 5a7cc275bd720512f43ba1587a13dce2
BLAKE2b-256 3d3466b10f746e26fe2b13bcc4d00bc1ac837d2dc870dc23ea0fc8463d12b355

See more details on using hashes here.

File details

Details for the file flaightkit-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: flaightkit-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 510.6 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.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.62.1 importlib-metadata/4.6.4 keyring/23.1.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.6

File hashes

Hashes for flaightkit-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fffcf264e78b74ac6a36bd505976591c14289f2834f0aed49d97a76a6014ffa0
MD5 9ce102be13169399f0fad6991708ee1a
BLAKE2b-256 6d471607ae9dd663ecfd96b1157f136db2947c4cd942123ae9bec55b188cad6f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page