flytekit


Nameflytekit JSON
Version 1.12.2 PyPI version JSON
download
home_pageNone
SummaryFlyte SDK for Python
upload_time2024-06-04 22:44:35
maintainerNone
docs_urlNone
authorNone
requires_python<3.13,>=3.8
licenseApache-2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <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/en/latest/api/flytekit/contributing.html">Contribution Guide</a>
</h3>

[![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 total download](https://static.pepy.tech/badge/flytekit)](https://static.pepy.tech/badge/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)](https://app.codecov.io/gh/flyteorg/flytekit)
[![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 example](https://docs.flyte.org/en/latest/quickstart_guide.html#getting-started-quickstart-guide))
- [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://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": null,
    "name": "flytekit",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<3.13,>=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": "Flyte Contributors <admin@flyte.org>",
    "download_url": "https://files.pythonhosted.org/packages/fa/a9/88738679292190b610ed070946df9cf939fd33e3eb2f0e0e9eaa9e59deef/flytekit-1.12.2.tar.gz",
    "platform": null,
    "description": "<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/en/latest/api/flytekit/contributing.html\">Contribution Guide</a>\n</h3>\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 total download](https://static.pepy.tech/badge/flytekit)](https://static.pepy.tech/badge/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)](https://app.codecov.io/gh/flyteorg/flytekit)\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 example](https://docs.flyte.org/en/latest/quickstart_guide.html#getting-started-quickstart-guide))\n- [Flytekit API documentation](https://docs.flyte.org/en/latest/api/flytekit/docs_index.html)\n\n\n## \ud83d\udcd6 How to Contribute to Flytekit\nYou can find the detailed contribution guide [here](https://docs.flyte.org/en/latest/api/flytekit/contributing.html). Plugins' contribution guide is included as well.\n\n## Code Structure\nPlease 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.\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": "Apache-2.0",
    "summary": "Flyte SDK for Python",
    "version": "1.12.2",
    "project_urls": {
        "Homepage": "https://github.com/flyteorg/flytekit"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f87ff84b282c71c6b800169ec71e9e9ae1a95c83f505e1af3a6ef19cc9cf0cf0",
                "md5": "25eb9119ded36e8393030112a7fe5257",
                "sha256": "46e32b326aac7e8f241821b8c557d7025d12ee45b3c4fe183c245bc600b4392a"
            },
            "downloads": -1,
            "filename": "flytekit-1.12.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "25eb9119ded36e8393030112a7fe5257",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.13,>=3.8",
            "size": 543635,
            "upload_time": "2024-06-04T22:44:30",
            "upload_time_iso_8601": "2024-06-04T22:44:30.104424Z",
            "url": "https://files.pythonhosted.org/packages/f8/7f/f84b282c71c6b800169ec71e9e9ae1a95c83f505e1af3a6ef19cc9cf0cf0/flytekit-1.12.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "faa988738679292190b610ed070946df9cf939fd33e3eb2f0e0e9eaa9e59deef",
                "md5": "b7af0cdb48ff6e7aa84a2106cf04ec60",
                "sha256": "c2eeec3fd52b8ebfc0ee63e7da584c2f9d0a15d0d37aa085a2385fd1a2d3f18f"
            },
            "downloads": -1,
            "filename": "flytekit-1.12.2.tar.gz",
            "has_sig": false,
            "md5_digest": "b7af0cdb48ff6e7aa84a2106cf04ec60",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.13,>=3.8",
            "size": 450344,
            "upload_time": "2024-06-04T22:44:35",
            "upload_time_iso_8601": "2024-06-04T22:44:35.027990Z",
            "url": "https://files.pythonhosted.org/packages/fa/a9/88738679292190b610ed070946df9cf939fd33e3eb2f0e0e9eaa9e59deef/flytekit-1.12.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-04 22:44:35",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "flyteorg",
    "github_project": "flytekit",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "flytekit"
}
        
Elapsed time: 0.24803s