Metadata-Version: 2.4
Name: cortex-loom
Version: 0.3.0
Summary: Package for developing and publishing custom Kelvin Cortex Flows.
Author: MMT Analytics
Author-email: support@machinemedicine.com
Requires-Python: >=3.11, <3.13
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Provides-Extra: full
Requires-Dist: cloudpickle (==3.1.1)
Requires-Dist: cortex-types (==0.6.4)
Requires-Dist: jupyter (>=1.0,<2.0) ; extra == "full"
Requires-Dist: lightgbm (>=4.1,<5.0) ; extra == "full"
Requires-Dist: matplotlib (>=3.8,<4.0) ; extra == "full"
Requires-Dist: pandas (>=2.1,<3.0) ; extra == "full"
Requires-Dist: requests (==2.32.4)
Requires-Dist: scikit-learn (>=1.4,<2.0) ; extra == "full"
Requires-Dist: scipy (>=1.12,<2.0) ; extra == "full"
Requires-Dist: seaborn (>=0.13,<0.14) ; extra == "full"
Requires-Dist: xgboost (>=2.0,<3.0) ; extra == "full"
Description-Content-Type: text/markdown

# cortex-loom

Python utilities for working with the Kelvin Cortex platform.

This package helps you:

- Load and inspect Cortex-native data types locally
- Develop and test custom analysis logic before publishing
- Validate and publish reusable processing Flows to Cortex

## Features

- **Providers** for loading `DataObject`s from files  
  (`VideoObjectProvider`, `PoseObjectProvider`, etc.)
- **FlowBuilder** to build, validate signatures, and publish custom Flows
- Type hints and interfaces matching Cortex runtime expectations
- Helper functions for common data analysis patterns

## Current limitations (February 2026)

Custom Flows must return **only JSON-serialisable data**  

## Installation

```bash
pip install cortex-loom
```
