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

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.32
File Size Uploaded Provenance Actions
flytekit-1.16.32.tar.gz 714.6 kB Without provenance Details for flytekit-1.16.32.tar.gz

Built distribution (wheel)

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

Total release size: 1.4 MB

Release files / flytekit-1.16.32.tar.gz

Download URL flytekit-1.16.32.tar.gz
Size 714.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2d2eeed1a617796f0ed0a0cee12c6217e015473349d97477833891f6a9c61df2
BLAKE2b-256 checksum
How to use checksums
d410cede8d4a523f90b1d5d10aeabf7c40cabe5f0d6c10473e4a2e834ec04ab4
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.32-py3-none-any.whl

Download URL flytekit-1.16.32-py3-none-any.whl
Size 679.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
af53cc8128862d0c221bb522cccf22230aaf17374b185d6b9b9f881d54695521
BLAKE2b-256 checksum
How to use checksums
5d83a39d4edc9d821fdfaacf61bfd0fb348bf49c6105f3ef6af6d2be5d6ac8f5
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.32

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