metaflow-stubs
Metaflow Stubs: Stubs for the metaflow package
Decision gist · record as of 2026-08-14
Yes, if you use Metaflow and want static type checking or IDE support. Type stubs add no runtime cost and integrate transparently with existing Metaflow code. The package is actively maintained, permissively licensed, and has no known vulnerabilities. Install it alongside metaflow to unlock type safety and better developer experience.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires metaflow to be installed; type stubs alone do not provide runtime functionality.
- Low friction install with a single pure-Python wheel dependency on metaflow itself.
- Actively maintained with a recent release (3 days old) and strong upstream support from Netflix's Metaflow project.
License · maintenance · safety
Apache Software License (permissive) — Licensed under Apache Software License (permissive), imposing no restrictions on use, modification, or distribution in proprietary or open-source projects.
last release 2026-08-11 (3 days) · last repo commit 2026-08-14 · 10,213 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 80,928 downloads/mo, #14,263 on PyPI
Alternatives
Verify before relying
pip install metaflow-stubs
# Then use metaflow with type checking:
import metaflow
from metaflow import FlowSpec, step
class MyFlow(FlowSpec):
@step
def start(self):
pass- Whether type stubs cover all public Metaflow APIs or only a subset of the full package surface.
- Compatibility with specific type checkers (mypy, pyright, pyre) beyond the general Python 3.7+ support.
- Whether stubs are actively synchronized with Metaflow's release cycle or lag behind.
What it is and what it does
metaflow-stubs is a type stub package that provides static type information for Metaflow, the ML workflow framework originally developed at Netflix. Type stubs allow Python type checkers like mypy and IDE tools to understand Metaflow's API surface, enabling autocomplete, inline documentation, and type validation during development without requiring changes to Metaflow itself.
The package is a pure-Python wheel with a single runtime dependency on metaflow. It supports Python 3.7 through 3.12 and is maintained actively alongside Metaflow's main releases. Installation is straightforward and adds no runtime overhead—stubs are used only during development and type checking, not at runtime.
Use it for
- Enable IDE autocomplete and inline documentation when writing Metaflow workflows in VS Code, PyCharm, or other type-aware editors.
- Catch type errors in Metaflow code before runtime using mypy or other static type checkers in CI/CD pipelines.
- Provide type hints for custom Metaflow decorators and step functions to improve code clarity and maintainability.
- Support refactoring of large Metaflow projects by making API changes visible to type checkers and IDEs.
- Document expected parameter and return types for Metaflow API calls without modifying the main package.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use Metaflow and want static type checking or IDE support.
Type stubs add no runtime cost and integrate transparently with existing Metaflow code. The package is actively maintained, permissively licensed, and has no known vulnerabilities. Install it alongside metaflow to unlock type safety and better developer experience.
Install
metaflow-stubs on PyPI
Before you install
Low friction install with a single pure-Python wheel dependency on metaflow itself. Actively maintained with a recent release (3 days old) and strong upstream support from Netflix's Metaflow project.
Requires metaflow to be installed; type stubs alone do not provide runtime functionality.
License in practice
Licensed under Apache Software License (permissive), imposing no restrictions on use, modification, or distribution in proprietary or open-source projects.
Quickstart
pip install metaflow-stubs
# Then use metaflow with type checking:
import metaflow
from metaflow import FlowSpec, step
class MyFlow(FlowSpec):
@step
def start(self):
pass
Verify before relying
- Whether type stubs cover all public Metaflow APIs or only a subset of the full package surface.
- Compatibility with specific type checkers (mypy, pyright, pyre) beyond the general Python 3.7+ support.
- Whether stubs are actively synchronized with Metaflow's release cycle or lag behind.
Package facts
| License | Apache Software License permissive |
| Python support | Supports the current Python release >=3.7.0 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagemetaflow |
| Maintenance | Actively maintained 3 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 80,928 / month, #14,263 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableLicense :: OSI Approved :: Apache Software LicenseOperating System :: MacOS :: MacOS XOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: metaflow_stubs-2.19.37-py2.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 › “metaflow type stubs”
- metaflow-stubsProvides type stubs for the Metaflow package, enabling static type…
- ob-metaflow-stubsProvides type hints and stub files for the metaflow package, enabling…
- ob-metaflow-extensionsProvides client-side extensions and integrations for Metaflow…
Give your agent the search over MCP, or paste the wish link into any chat.
More Application Frameworks packages
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.
Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.
Install it if you're developing CLI tools, dashboards, or interactive terminal applications.
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.
Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.
Install it if you need to build or connect to servers.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
See also metaflow · ob-metaflow-stubs · ob-metaflow · metaflow-netflixext · metaflow-prebuilt · ob-project-utils · ob-metaflow-extensions · metaflow-checkpoint · outerbounds · metaflow-torchrun