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.31

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.31
File Size Uploaded Provenance
flytekit-1.16.31.tar.gz 662.4 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 1.3 MB

Release files / flytekit-1.16.31.tar.gz

Download URL flytekit-1.16.31.tar.gz
Size 662.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a7401628ab9bc5740f6c4fe913ca47a737ce2ae9c7a87881b6813607f27f3f28
BLAKE2b-256 checksum
How to use checksums
4238fde725b7efef483da2b810b4ff012cbf30f9351cab0cb0dee54a7d7c70d3
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.31-py3-none-any.whl

Download URL flytekit-1.16.31-py3-none-any.whl
Size 678.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a77d33001480db25b8976cf5345fcb21e246165a2ba066a3c493ae140f475699
BLAKE2b-256 checksum
How to use checksums
349fcf746b814acc71de99861132e8728a652e3127c5ac90babbd563600fb0c7
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.31

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.16.31 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