<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>
[](https://pypi.python.org/pypi/flytekit/)
[](https://pypi.python.org/pypi/flytekit/)
[](https://pypi.python.org/pypi/flytekit/)
[](https://pypi.python.org/pypi/flytekit/)
[](https://pypi.python.org/pypi/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 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/0e/ff/03a19f8a53b7338f35bd2163836ace33d9b2531ac21d3d6aee87b9b37e19/lytekit-0.15.23.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[](https://pypi.python.org/pypi/flytekit/)\n[](https://pypi.python.org/pypi/flytekit/)\n[](https://pypi.python.org/pypi/flytekit/)\n[](https://pypi.python.org/pypi/flytekit/)\n[](https://pypi.python.org/pypi/flytekit/)\n\n[](https://pypi.python.org/pypi/flytekit/)\n[](https://flytekit.rtfd.io)\n[](https://github.com/psf/black)\n[](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.23",
"project_urls": {
"Homepage": "https://github.com/flyteorg/flytekit"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c0756b616b300cee3f21ce9d54c95a522e337bbabf83029453b4dceb1102bd84",
"md5": "8f2953752529d01875348a7c6d9336c4",
"sha256": "74f81a57fad6bc5d3d05d3eb64b71220a45b9fc10c90ed953379cb4325bdfb95"
},
"downloads": -1,
"filename": "lytekit-0.15.23-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8f2953752529d01875348a7c6d9336c4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 385793,
"upload_time": "2025-02-12T20:42:42",
"upload_time_iso_8601": "2025-02-12T20:42:42.111154Z",
"url": "https://files.pythonhosted.org/packages/c0/75/6b616b300cee3f21ce9d54c95a522e337bbabf83029453b4dceb1102bd84/lytekit-0.15.23-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "0eff03a19f8a53b7338f35bd2163836ace33d9b2531ac21d3d6aee87b9b37e19",
"md5": "a03936ba8f58d16337eb4af866a3c5b6",
"sha256": "13c9740e29cf22b21a8c1624fd7e20674f9497839eef2b3d863ff64fc300d3f6"
},
"downloads": -1,
"filename": "lytekit-0.15.23.tar.gz",
"has_sig": false,
"md5_digest": "a03936ba8f58d16337eb4af866a3c5b6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 292488,
"upload_time": "2025-02-12T20:42:44",
"upload_time_iso_8601": "2025-02-12T20:42:44.151592Z",
"url": "https://files.pythonhosted.org/packages/0e/ff/03a19f8a53b7338f35bd2163836ace33d9b2531ac21d3d6aee87b9b37e19/lytekit-0.15.23.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-12 20:42:44",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "flyteorg",
"github_project": "flytekit",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "lytekit"
}