Skip to main content

COGFlow — modular machine learning workflow management system

Project description

CogFlow

CogFlow is a modular, SDK-first machine learning workflow management system built on Kubeflow Pipelines, MLflow, Kubernetes, and MinIO.

It provides a clean Python API for:

  • building production-grade ML pipelines
  • managing datasets and components
  • orchestrating federated learning workflows
  • enforcing consistent error handling and validation

CogFlow is designed for real infrastructure, not notebooks only.


Why CogFlow?

Modern ML platforms are powerful but fragmented:

  • Kubeflow Pipelines → great orchestration, weak ergonomics
  • MLflow → experiment tracking, limited workflow control
  • Kubernetes → powerful, but verbose and error-prone
  • Federated learning → no standard orchestration layer

CogFlow bridges these gaps by providing:

  • a stable Python SDK
  • safe lazy-loading of heavy dependencies
  • unified error handling
  • infrastructure-aware abstractions
  • zero circular imports

Core Features

🧩 Pipeline Orchestration

  • Lazy-loaded Kubeflow Pipelines client
  • Safe pipeline compilation and submission
  • Runtime environment injection
  • Kubernetes service lifecycle management

📦 Component Management

  • YAML-based component registry
  • MinIO-backed component storage
  • Automatic component registration
  • Runtime-safe component loading

📊 Dataset Management

  • Dataset registration and metadata retrieval
  • Secure dataset downloads
  • Silent deletes with strict error semantics
  • Pluggable storage backends

🤝 Federated Learning

  • Auto-generated FL pipelines
  • Dynamic pipeline signatures
  • Connector-based and dataspace-based workflows
  • Region-aware scheduling with node selectors

🧠 Unified Error Handling

  • Strongly typed error hierarchy
  • Context-aware exception wrapping
  • API-ready error serialization
  • Zero silent failures

Architecture Overview

CogFlow follows a layered SDK architecture:

cogflow/ ├── core/ │ ├── pipelines/ # Kubeflow orchestration & FL pipelines │ ├── datasets/ # Dataset lifecycle management │ ├── components/ # Component registry & YAML handling │ └── models/ # (future extension) │ ├── utils/ │ ├── common.py # UUIDs, paths, Kubernetes helpers │ ├── network.py # HTTP utilities with retry & streaming │ ├── storage.py # MinIO client abstraction │ └── exceptions.py # Unified error framework │ ├── config.py └── api.py

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cogflow-2.0.1b7.tar.gz (251.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cogflow-2.0.1b7-py3-none-any.whl (298.8 kB view details)

Uploaded Python 3

File details

Details for the file cogflow-2.0.1b7.tar.gz.

File metadata

  • Download URL: cogflow-2.0.1b7.tar.gz
  • Upload date:
  • Size: 251.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cogflow-2.0.1b7.tar.gz
Algorithm Hash digest
SHA256 5e4f5fdbcc81c551fed4f0e11d3e7d263ff9c84f60e5badc84255bcc940e5a43
MD5 03f86604dd9982190ef78ca1b202b3ad
BLAKE2b-256 ad480b02b4591a6073ead2a401b42022f5246578cec1b7f4d2e6ee7a30a32185

See more details on using hashes here.

Provenance

The following attestation bundles were made for cogflow-2.0.1b7.tar.gz:

Publisher: release.yml on HIRO-MicroDataCenters-BV/cogflow

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cogflow-2.0.1b7-py3-none-any.whl.

File metadata

  • Download URL: cogflow-2.0.1b7-py3-none-any.whl
  • Upload date:
  • Size: 298.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cogflow-2.0.1b7-py3-none-any.whl
Algorithm Hash digest
SHA256 d9cdfd692c9b47a72c3e48d33be85f7fd092f59e409023538daf5e0b80a07aed
MD5 86a45582b011abac478641fbb891cde0
BLAKE2b-256 f69833614e3eae0360545ced3c2c5b3c50c2349ae46fd8d4331238f0bc8b3f0b

See more details on using hashes here.

Provenance

The following attestation bundles were made for cogflow-2.0.1b7-py3-none-any.whl:

Publisher: release.yml on HIRO-MicroDataCenters-BV/cogflow

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page