Registry / workflow / ob-metaflow-extensions

ob-metaflow-extensions

JSON →
library1.6.23pypypi✓ verified 82d ago

The `ob-metaflow-extensions` library provides custom plugins, decorators, and features to seamlessly integrate Metaflow workflows with the Outerbounds Platform. This includes functionalities like authentication, deployment tools, and specialized data store configurations for an Outerbounds-managed environment. It's actively maintained with frequent updates, typically aligning with Metaflow and Outerbounds Platform releases. The current version is 1.6.17.

pip install ob-metaflow-extensions
INSTALL
IMPORT
SIG · OB-METAFLOW-EXTENS
O
ob-metaflow-extensions
workflowpythonv1.6.23
Install
7.7s avg
Import
Disk
184MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.6.23 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.920 runs
installs and imports cleanly · install 0.0s · import 0.000s · 165.6MB
glibc
py 3.103.920 runs
installs and imports cleanly · install 7.7s · import 0.000s · 203MB
184MB installed
● package 184MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

outerbounds
from metaflow_extensions import outerbounds
from ob_metaflow_extensions.decorators import outerbounds

This quickstart demonstrates a basic Metaflow flow using the `@outerbounds` decorator, which enables deployment to the Outerbounds Platform. It requires Metaflow to be installed and Outerbounds authentication configured (e.g., via `OUTERBOUNDS_TOKEN` environment variable or Outerbounds CLI login).

from metaflow import FlowSpec, step from ob_metaflow_extensions.decorators import outerbounds # Ensure OUTERBOUNDS_TOKEN environment variable is set for deployment # or ensure you are logged in via Outerbounds CLI @outerbounds class MyOuterboundsFlow(FlowSpec): """ A simple Metaflow flow deployable to the Outerbounds Platform. """ @step def start(self): print("Starting MyOuterboundsFlow") self.message = "Hello from Outerbounds!" self.next(self.end) @step def end(self): print(f"MyOuterboundsFlow finished! Message: {self.message}") if __name__ == '__main__': # To run locally: # python your_flow_file.py run # To deploy to Outerbounds (requires CLI login or token): # python your_flow_file.py deploy MyOuterboundsFlow()
Debug
Known issues
gotchaVersion compatibility with `metaflow` is crucial. `ob-metaflow-extensions` is built against specific Metaflow versions. Mismatches can lead to runtime errors or unexpected behavior.
fix
Always check the `ob-metaflow-extensions` documentation or release notes for compatible `metaflow` versions. Upgrade both packages in tandem if necessary.
affects: All versions
gotchaDeploying or running flows on the Outerbounds Platform requires proper authentication. This typically involves setting the `OUTERBOUNDS_TOKEN` environment variable or logging in via the Outerbounds CLI (`ob login`).
fix
Ensure `OUTERBOUNDS_TOKEN` is correctly set in your environment, or run `ob login` to authenticate your CLI session before deploying or interacting with platform features.
affects: All versions
gotchaPlatform-specific features (e.g., S3 artifact storage, Kubernetes orchestration) often require additional environment variables or cluster-side configurations. Errors related to permissions or resource access are common.
fix
Consult Outerbounds Platform documentation for required environment variables (e.g., `AWS_REGION`, `OUTERBOUNDS_NAMESPACE`) and ensure your Outerbounds workspace has the necessary permissions configured for the actions your flow performs.
affects: All versions
Upgrade
Version history
1.6.23latest on PyPI · released Jun 15, 2026
Audit
Dependencies
metaflowrequiredThis library extends Metaflow and requires a compatible version of Metaflow to be installed. Version mismatches are a common source of issues.
Agent activity
29 hits · last 30 days
node
26
OpenAI (training)
3
Resources
ob-metaflow-extensions — pip install ob-metaflow-extensions · libregistry