skillfed

flyteidl2

IDL for Flyte

flyteidl2 v2.0.41 180.3K downloads/30d#10,146 on PyPI
Permissive license Active released

What it is and what it does

flyteidl2 is a Python library that bundles the protobuf message definitions and serialization code for Flyte's interface definition language. It serves as the contract layer between Flyte workflow components, allowing them to communicate using well-defined, versioned message schemas. The package is built from protobuf definitions and depends on standard protobuf tooling (protobuf, googleapis-common-protos, protoc-gen-openapiv2, protovalidate) to provide runtime message handling.

This is a foundational library for anyone building or integrating with Flyte workflows. It is not a standalone application but rather a dependency that Flyte clients, plugins, and the Flyte control plane use to serialize and deserialize workflow metadata, task definitions, and execution state. If you are working directly with Flyte, you will likely install this as a transitive dependency rather than explicitly.

Use it for:

  • Building Flyte task plugins or custom workflow components that need to serialize task metadata and execution state.
  • Integrating external systems with Flyte by consuming or producing Flyte workflow definitions and execution events.
  • Developing Flyte control-plane extensions that operate on workflow and task protobuf messages.
  • Debugging Flyte workflows by inspecting serialized protobuf messages in logs or event streams.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides Python protobuf message definitions and serialization support for Flyte's interface definition language (IDL), enabling communication between Flyte workflow components.

Yes, if you are developing for or integrating with Flyte. This is a foundational library that Flyte itself depends on; you will almost certainly need it as a transitive dependency. Install it explicitly only if you are building Flyte plugins or custom integrations that directly consume its protobuf definitions. The package is actively maintained, has no known vulnerabilities, and carries a permissive Apache 2.0 license.

Install

flyteidl2 on PyPI

pip

pip install flyteidl2

uv

uv add flyteidl2

poetry

poetry add flyteidl2

Installing flyteidl2

Before you install

Active maintenance with a recent release. Low install friction from a pure-Python wheel with four runtime dependencies (protobuf, googleapis-common-protos, protoc-gen-openapiv2, protovalidate), all standard protocol-buffer tooling.

License in practice

Licensed under Apache License 2.0 (permissive), allowing use in most commercial and open-source projects without significant restriction.

Quickstart

pip install flyteidl2

from flyteidl2 import core
# Use protobuf message definitions from flyteidl2.core or other submodules

Requires Python 3.10 or later; protobuf runtime dependencies must be installed alongside.

Verify before relying

  • Whether this package is intended for end-user workflow development or primarily for Flyte framework internals.
  • What specific protobuf message types and services are exposed and their typical usage patterns.
  • Whether documentation or examples exist beyond the package metadata.

Package facts

License not declared (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 4 — googleapis-common-protos, protoc-gen-openapiv2, protobuf, protovalidate
Maintenance actively maintained — 0 days since the last release
First released
Downloads 180,337/month — #10,146 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: flyteidl2-2.0.41-py3-none-any.whl

Intended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Scientific/EngineeringTopic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Software DevelopmentTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python Modules

Tags

flyte protobuf definitionsflyte IDL python libraryflyte message serializationflyte workflow protocol buffersflyte component communicationprotobuf IDL for flyteflyte data model definitions
protobufflyte-ecosystemworkflow-orchestration

More Software Development packages