https://github.com/flyteorg/flytekit
Extensible Python SDK for developing Flyte tasks and workflows. Simple to get started and learn and highly extensible.
https://github.com/flyteorg/flytekit
automation data data-science extensible flyte flyte-tasks hacktoberfest mlops pypi python sdk spark workflows
Last synced: 11 days ago
JSON representation
Extensible Python SDK for developing Flyte tasks and workflows. Simple to get started and learn and highly extensible.
- Host: GitHub
- URL: https://github.com/flyteorg/flytekit
- Owner: flyteorg
- License: apache-2.0
- Created: 2019-08-21T17:38:38.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2025-05-08T10:39:00.000Z (16 days ago)
- Last Synced: 2025-05-13T05:53:11.002Z (12 days ago)
- Topics: automation, data, data-science, extensible, flyte, flyte-tasks, hacktoberfest, mlops, pypi, python, sdk, spark, workflows
- Language: Python
- Homepage: https://docs.flyte.org/en/latest/api/flytekit/docs_index.html
- Size: 41 MB
- Stars: 273
- Watchers: 236
- Forks: 319
- Open Issues: 138
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
- awesome-repositories - flyteorg/flytekit - Extensible Python SDK for developing Flyte tasks and workflows. Simple to get started and learn and highly extensible. (Python)
README
![]()
Flytekit Python
Flytekit Python is the Python SDK built on top of Flyte
Plugins
ยท
Contribution Guide[](https://pypi.python.org/pypi/flytekit/)
[](https://pypi.python.org/pypi/flytekit/)
[](https://pypi.python.org/pypi/flytekit/)
[](https://static.pepy.tech/badge/flytekit)
[](https://pypi.python.org/pypi/flytekit/)
[](https://pypi.python.org/pypi/flytekit/)
[](https://app.codecov.io/gh/flyteorg/flytekit)
[](https://pypi.python.org/pypi/flytekit/)
[](https://flytekit.rtfd.io)
[](https://github.com/psf/black)
[](https://slack.flyte.org)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:
- [Flyte homepage](https://flyte.org)
- [Flyte core repository](https://github.com/flyteorg/flyte)## ๐ Quick Start
Flytekit is the core extensible library to author Flyte workflows and tasks and interact with Flyte backend services.
### Installation
```bash
pip install flytekit
```### A Simple Example
```python
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
- [Learn Flytekit by example](https://docs.flyte.org/en/latest/user_guide/quickstart_guide.html)
- [Flytekit API documentation](https://docs.flyte.org/en/latest/api/flytekit/docs_index.html)## ๐ How to Contribute to Flytekit
You can find the detailed contribution guide [here](https://docs.flyte.org/en/latest/api/flytekit/contributing.html). Plugins' contribution guide is included as well.## Code Structure
Please see the [contributor's guide](https://docs.flyte.org/en/latest/api/flytekit/contributing.html) for a quick summary of how this code is structured.## ๐ File an Issue
Refer to the [issues](https://github.com/flyteorg/flyte/issues) section in the contribution guide if you'd like to file an issue.## ๐ Flytekit Plugins
Refer to [plugins/README.md](plugins/README.md) for a list of available plugins.
There may be plugins outside of this list, but the core maintainers maintain this list.