Skip to main content

Flyte Logo

Flytekit Python

Flytekit Python is the Python SDK built on top of Flyte

Plugins · Contribution Guide

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.

Metadata

Release files for flytekit 1.16.30

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flytekit 1.16.30
File Size Uploaded Provenance
flytekit-1.16.30.tar.gz 662.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for flytekit 1.16.30
File Interpreter ABI Platform
flytekit-1.16.30-py3-none-any.whl Python 3 none any Details

Total release size: 1.3 MB

Release files / flytekit-1.16.30.tar.gz

Download URL flytekit-1.16.30.tar.gz
Size 662.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a21e09097407d8ac584bdb4cc425011e96c764e59039e672029ada1e8970315b
BLAKE2b-256 checksum
How to use checksums
750619680b46df588fd96bc653ff614d48006ac5b3f08fee082889ce0968327a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / flytekit-1.16.30-py3-none-any.whl

Download URL flytekit-1.16.30-py3-none-any.whl
Size 678.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e7569274a959f5e75c41ecbbf721d278181aec576a00eb9ecd0780e9b2b2be4e
BLAKE2b-256 checksum
How to use checksums
212250833d90801d8c4231945b1d84df4065f12bec72aa9fe67fe4e7eed90184
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for flytekit 1.16.30

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.16.30 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page