flytekit
Flyte SDK for Python
Decision gist · record as of 2026-08-14
Yes, if you are running Flyte 1.x or evaluating Flyte for workflow orchestration. The package is actively maintained, has low install friction, carries no known vulnerabilities, and is permissively licensed. However, note that Flyte 2 is now generally available—new projects should evaluate whether Flyte 2's Python SDK is a better fit, and existing Flyte 1.x users should plan a migration timeline.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later (capped below 3.13); Flyte backend services must be available or configured for full functionality.
- Low install friction with a pure-wheel distribution.
- Actively maintained with a release 4 days old and recent commits; 315 repository stars indicate established community use.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions—suitable for most production and proprietary contexts.
last release 2026-08-10 (4 days) · last repo commit 2026-08-10 · 315 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 545,779 downloads/mo, #6,075 on PyPI
Alternatives
Verify before relying
pip install flytekit
from flytekit import task, workflow
@task(cache=True, cache_version="1", retries=3)
def sum(x: int, y: int) -> int:
return x + y
@workflow
def my_workflow(x: int, y: int) -> int:
return sum(x=x, y=y)- Whether Flyte 1.x receives ongoing security patches or is in maintenance-only mode given Flyte 2 general availability.
- Performance characteristics and scalability limits for large-scale workflow execution.
- Compatibility and migration path from Flyte 1.x to Flyte 2 for existing deployments.
What it is and what it does
Flytekit is the Python SDK for the Flyte workflow orchestration platform. It provides decorators and APIs to define tasks (atomic units of work) and workflows (compositions of tasks) with built-in support for caching, retries, and type safety. Tasks and workflows are authored in plain Python, then deployed to a Flyte backend for distributed execution. The package handles serialization, dependency management, and integration with cloud storage (GCS, Azure, S3) and container runtimes (Docker).
The library is designed for data engineers and ML practitioners building reproducible, scalable pipelines. It includes 39 runtime dependencies covering serialization (cloudpickle, msgpack, protobuf), scheduling (croniter), caching (diskcache, cachetools), and cloud integrations (gcsfs, adlfs). While Flyte 2 is now generally available, this version (1.16.27) remains actively maintained and suitable for existing Flyte 1.x deployments.
Use it for
- Define and test ML training pipelines with task caching and automatic retry logic before deploying to a Flyte cluster.
- Build data processing workflows that orchestrate multiple Python functions across distributed infrastructure with type-safe interfaces.
- Schedule recurring data jobs using cron expressions and manage their execution state through Flyte launch plans.
- Integrate with cloud storage backends (GCS, Azure Blob, S3) for reading and writing pipeline artifacts.
- Author reusable task libraries with built-in versioning and dependency tracking for team collaboration.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are running Flyte 1.x or evaluating Flyte for workflow orchestration.
The package is actively maintained, has low install friction, carries no known vulnerabilities, and is permissively licensed. However, note that Flyte 2 is now generally available—new projects should evaluate whether Flyte 2's Python SDK is a better fit, and existing Flyte 1.x users should plan a migration timeline.
Install
flytekit on PyPI
Before you install
Low install friction with a pure-wheel distribution. Actively maintained with a release 4 days old and recent commits; 315 repository stars indicate established community use.
Requires Python 3.10 or later (capped below 3.13); Flyte backend services must be available or configured for full functionality.
License in practice
Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions—suitable for most production and proprietary contexts.
Quickstart
pip install flytekit
from flytekit import task, workflow
@task(cache=True, cache_version="1", retries=3)
def sum(x: int, y: int) -> int:
return x + y
@workflow
def my_workflow(x: int, y: int) -> int:
return sum(x=x, y=y)
Verify before relying
- Whether Flyte 1.x receives ongoing security patches or is in maintenance-only mode given Flyte 2 general availability.
- Performance characteristics and scalability limits for large-scale workflow execution.
- Compatibility and migration path from Flyte 1.x to Flyte 2 for existing deployments.
Package facts
| License | Apache-2.0 permissive |
| Python support | Capped below the current Python release <3.13,>=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 39 packagesadlfscachetoolsclickcloudpicklecroniterdataclasses-jsondiskcachedockerdocstring-parserflyteidlfsspecgcsfsgoogleapis-common-protosgrpciogrpcio-statusimportlib-metadatajoblibjsonlinesjsonpicklekeyringmarkdown-it-pymarshmallowmarshmallow-enummarshmallow-jsonschemasetuptoolsmashumaromsgpackprotobufpygmentspython-json-logger |
| Maintenance | Actively maintained 4 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 545,779 / month, #6,075 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Topic :: Scientific/EngineeringTopic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Software DevelopmentTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python Modules |
Evidence: flytekit-1.16.27-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “flyte sdk python”
- flytekitFlytekit is the Python SDK for authoring, testing, deploying, and…
- flyteidl2Provides Python protobuf message definitions and serialization…
- flyteidlFlyteidl provides the protobuf-based IDL (Interface Definition…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also flyte · flyteidl · latch · flyteidl2 · apache-airflow-task-sdk · kfp · hatchet-sdk · azureml-pipeline-core · skypilot-nightly · buildkite-sdk