{"library":"ob-metaflow-extensions","title":"Outerbounds Metaflow Extensions","description":"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.","language":"python","status":"active","last_verified":"Thu Apr 16","install":{"commands":["pip install ob-metaflow-extensions","pip install metaflow"],"cli":null},"imports":["from ob_metaflow_extensions.decorators import outerbounds","from ob_metaflow_extensions.auth.client import OuterboundsClient","from ob_metaflow_extensions.s3.s3_client import S3Client"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from metaflow import FlowSpec, step\nfrom ob_metaflow_extensions.decorators import outerbounds\n\n# Ensure OUTERBOUNDS_TOKEN environment variable is set for deployment\n# or ensure you are logged in via Outerbounds CLI\n\n@outerbounds\nclass MyOuterboundsFlow(FlowSpec):\n    \"\"\"\n    A simple Metaflow flow deployable to the Outerbounds Platform.\n    \"\"\"\n    @step\n    def start(self):\n        print(\"Starting MyOuterboundsFlow\")\n        self.message = \"Hello from Outerbounds!\"\n        self.next(self.end)\n\n    @step\n    def end(self):\n        print(f\"MyOuterboundsFlow finished! Message: {self.message}\")\n\nif __name__ == '__main__':\n    # To run locally:\n    # python your_flow_file.py run\n    # To deploy to Outerbounds (requires CLI login or token):\n    # python your_flow_file.py deploy\n    MyOuterboundsFlow()","lang":"python","description":"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).","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}