Skip to content

Extensible Python SDK for developing Flyte tasks and workflows. Simple to get started and learn and highly extensible.

License

Notifications You must be signed in to change notification settings

hebiao064/flytekit

This branch is 6 commits ahead of, 172 commits behind flyteorg/flytekit:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Dec 5, 2024
698d62b Β· Dec 5, 2024
Dec 4, 2024
Nov 5, 2024
Dec 5, 2024
Dec 1, 2022
Dec 3, 2024
Dec 5, 2024
Jul 15, 2024
Oct 12, 2024
Sep 11, 2023
Jul 3, 2024
Aug 26, 2021
Aug 14, 2024
Oct 2, 2024
Nov 11, 2024
Aug 21, 2019
Nov 30, 2022
Aug 6, 2024
Aug 21, 2019
Oct 25, 2024
Sep 27, 2023
Dec 4, 2024
Nov 11, 2024
Apr 17, 2024
Dec 4, 2024
Jul 17, 2023
Nov 21, 2023
Dec 8, 2023

Repository files navigation

Flyte Logo

Flytekit Python

Flytekit Python is the Python SDK built on top of Flyte

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

Flytekit Python is the Python Library for easily authoring, testing, deploying, and interacting with Flyte tasks, workflows, and launch plans.

If you haven't explored Flyte yet, please refer to:

πŸš€ Quick Start

Flytekit is the core extensible library to author Flyte workflows and tasks and interact with Flyte backend services.

Installation

pip install flytekit

A Simple Example

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))

πŸ“¦ Resources

πŸ“– How to Contribute to Flytekit

You can find the detailed contribution guide here. Plugins' contribution guide is included as well.

Code Structure

Please see the contributor's guide for a quick summary of how this code is structured.

🐞 File an Issue

Refer to the issues section in the contribution guide if you'd like to file an issue.

πŸ”Œ Flytekit Plugins

Refer to plugins/README.md for a list of available plugins. There may be plugins outside of this list, but the core maintainers maintain this list.

About

Extensible Python SDK for developing Flyte tasks and workflows. Simple to get started and learn and highly extensible.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.5%
  • Other 0.5%