<html>
<p align="center">
<img src="https://raw.githubusercontent.com/flyteorg/static-resources/main/common/flyte_circle_gradient_1_4x4.png" alt="Flyte Logo" width="100">
</p>
<h1 align="center">
Flytekit Python
</h1>
<p align="center">
Flytekit Python is the Python SDK built on top of Flyte
</p>
<h3 align="center">
<a href="plugins/README.md">Plugins</a>
<span> ยท </span>
<a href="https://docs.flyte.org/projects/flytekit/en/latest/contributing.html">Contribution Guide</a>
</h3>
</html>
[![PyPI version fury.io](https://badge.fury.io/py/flytekit.svg)](https://pypi.python.org/pypi/flytekit/)
[![PyPI download day](https://img.shields.io/pypi/dd/flytekit.svg)](https://pypi.python.org/pypi/flytekit/)
[![PyPI download month](https://img.shields.io/pypi/dm/flytekit.svg)](https://pypi.python.org/pypi/flytekit/)
[![PyPI format](https://img.shields.io/pypi/format/flytekit.svg)](https://pypi.python.org/pypi/flytekit/)
[![PyPI implementation](https://img.shields.io/pypi/implementation/flytekit.svg)](https://pypi.python.org/pypi/flytekit/)
![Codecov](https://img.shields.io/codecov/c/github/flyteorg/flytekit?style=plastic)
[![PyPI pyversions](https://img.shields.io/pypi/pyversions/flytekit.svg)](https://pypi.python.org/pypi/flytekit/)
[![Docs](https://readthedocs.org/projects/flytekit/badge/?version=latest&style=plastic)](https://flytekit.rtfd.io)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Slack](https://img.shields.io/badge/slack-join_chat-white.svg?logo=slack&style=social)](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 examples](https://flytecookbook.readthedocs.io/)
- [Flytekit API documentation](https://flytekit.readthedocs.io/)
## ๐ How to Contribute to Flytekit
You can find the detailed contribution guide [here](https://docs.flyte.org/projects/flytekit/en/latest/contributing.html). Plugins' contribution guide is included as well.
## Code Structure
Please see the [contributor's guide](https://docs.flyte.org/projects/flytekit/en/latest/contributing.html) for a quick summary of how this code is structured.
## ๐ File an Issue
Refer to the [issues](https://docs.flyte.org/en/latest/community/contribute.html#file-an-issue) 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.
Raw data
{
"_id": null,
"home_page": "https://github.com/flyteorg/flytekit",
"name": "lytekit",
"maintainer": "Flyte Contributors",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "contact@latch.bio",
"keywords": null,
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/e2/44/035838beb565feca6ff616abdec945c15191525b3b104532fb9be474b853/lytekit-0.15.17.tar.gz",
"platform": null,
"description": "<html>\n <p align=\"center\">\n <img src=\"https://raw.githubusercontent.com/flyteorg/static-resources/main/common/flyte_circle_gradient_1_4x4.png\" alt=\"Flyte Logo\" width=\"100\">\n </p>\n <h1 align=\"center\">\n Flytekit Python\n </h1>\n <p align=\"center\">\n Flytekit Python is the Python SDK built on top of Flyte\n </p>\n <h3 align=\"center\">\n <a href=\"plugins/README.md\">Plugins</a>\n <span> \u00b7 </span>\n <a href=\"https://docs.flyte.org/projects/flytekit/en/latest/contributing.html\">Contribution Guide</a>\n </h3>\n</html>\n\n[![PyPI version fury.io](https://badge.fury.io/py/flytekit.svg)](https://pypi.python.org/pypi/flytekit/)\n[![PyPI download day](https://img.shields.io/pypi/dd/flytekit.svg)](https://pypi.python.org/pypi/flytekit/)\n[![PyPI download month](https://img.shields.io/pypi/dm/flytekit.svg)](https://pypi.python.org/pypi/flytekit/)\n[![PyPI format](https://img.shields.io/pypi/format/flytekit.svg)](https://pypi.python.org/pypi/flytekit/)\n[![PyPI implementation](https://img.shields.io/pypi/implementation/flytekit.svg)](https://pypi.python.org/pypi/flytekit/)\n![Codecov](https://img.shields.io/codecov/c/github/flyteorg/flytekit?style=plastic)\n[![PyPI pyversions](https://img.shields.io/pypi/pyversions/flytekit.svg)](https://pypi.python.org/pypi/flytekit/)\n[![Docs](https://readthedocs.org/projects/flytekit/badge/?version=latest&style=plastic)](https://flytekit.rtfd.io)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![Slack](https://img.shields.io/badge/slack-join_chat-white.svg?logo=slack&style=social)](https://slack.flyte.org)\n\nFlytekit Python is the Python Library for easily authoring, testing, deploying, and interacting with Flyte tasks, workflows, and launch plans.\n\nIf you haven't explored Flyte yet, please refer to:\n - [Flyte homepage](https://flyte.org)\n - [Flyte core repository](https://github.com/flyteorg/flyte)\n\n## \ud83d\ude80 Quick Start\n\nFlytekit is the core extensible library to author Flyte workflows and tasks and interact with Flyte backend services.\n\n### Installation\n\n```bash\npip install flytekit\n```\n\n### A Simple Example\n\n```python\nfrom flytekit import task, workflow\n\n@task(cache=True, cache_version=\"1\", retries=3)\ndef sum(x: int, y: int) -> int:\n return x + y\n\n@task(cache=True, cache_version=\"1\", retries=3)\ndef square(z: int) -> int:\n return z*z\n\n@workflow\ndef my_workflow(x: int, y: int) -> int:\n return sum(x=square(z=x), y=square(z=y))\n```\n\n## \ud83d\udce6 Resources\n- [Learn Flytekit by examples](https://flytecookbook.readthedocs.io/)\n- [Flytekit API documentation](https://flytekit.readthedocs.io/)\n\n\n## \ud83d\udcd6 How to Contribute to Flytekit\nYou can find the detailed contribution guide [here](https://docs.flyte.org/projects/flytekit/en/latest/contributing.html). Plugins' contribution guide is included as well.\n\n## Code Structure\nPlease see the [contributor's guide](https://docs.flyte.org/projects/flytekit/en/latest/contributing.html) for a quick summary of how this code is structured.\n\n## \ud83d\udc1e File an Issue\nRefer to the [issues](https://docs.flyte.org/en/latest/community/contribute.html#file-an-issue) section in the contribution guide if you'd like to file an issue.\n\n## \ud83d\udd0c Flytekit Plugins\nRefer to [plugins/README.md](plugins/README.md) for a list of available plugins.\nThere may be plugins outside of this list, but the core maintainers maintain this list.\n",
"bugtrack_url": null,
"license": "apache2",
"summary": "Flyte SDK for Python",
"version": "0.15.17",
"project_urls": {
"Homepage": "https://github.com/flyteorg/flytekit"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f3c4e4cccd84cf68c0f036a480864db51a72e1ff2f4ef421380b325ed1d25bb9",
"md5": "e9c4ca99d88a6960dc7324c3c13a0677",
"sha256": "fde12b09e30ac7c67627c40ab13c4cd49bb5e3f95f3462991b3472836fd8074c"
},
"downloads": -1,
"filename": "lytekit-0.15.17-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e9c4ca99d88a6960dc7324c3c13a0677",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 385483,
"upload_time": "2024-12-20T23:49:45",
"upload_time_iso_8601": "2024-12-20T23:49:45.742330Z",
"url": "https://files.pythonhosted.org/packages/f3/c4/e4cccd84cf68c0f036a480864db51a72e1ff2f4ef421380b325ed1d25bb9/lytekit-0.15.17-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e244035838beb565feca6ff616abdec945c15191525b3b104532fb9be474b853",
"md5": "1a061ba42495dc566c1ed7dec2d6a8c5",
"sha256": "f7d91537705f4b068c7d647d73c3b89506d09d4d5fd1942b23b3832c5dbf7c61"
},
"downloads": -1,
"filename": "lytekit-0.15.17.tar.gz",
"has_sig": false,
"md5_digest": "1a061ba42495dc566c1ed7dec2d6a8c5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 292264,
"upload_time": "2024-12-20T23:49:48",
"upload_time_iso_8601": "2024-12-20T23:49:48.373073Z",
"url": "https://files.pythonhosted.org/packages/e2/44/035838beb565feca6ff616abdec945c15191525b3b104532fb9be474b853/lytekit-0.15.17.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-20 23:49:48",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "flyteorg",
"github_project": "flytekit",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "lytekit"
}