Skip to main content

CardioMAS — Cardio Multi-Agent System for reproducible ECG dataset splits

Project description

CardioMAS — Cardio Multi-Agent System

CI PyPI License HuggingFace

A locally-runnable multi-agent system that analyzes ECG datasets, generates reproducible train/validation/test splits, and publishes split manifests (record IDs only) to vlbthambawita/ECGBench on HuggingFace.

Quick Start

pip install cardiomas

# Analyze a dataset and publish splits
cardiomas analyze https://physionet.org/content/ptb-xl/1.0.3/

# Check existing splits
cardiomas status ptb-xl

# List all analyzed datasets
cardiomas list --remote

Requirements

  • Python ≥ 3.10
  • Ollama running locally with a model pulled (default: llama3.1:8b)
ollama pull llama3.1:8b
ollama serve

Python API

from cardiomas import CardioMAS

mas = CardioMAS(ollama_model="llama3.1:8b", seed=42)
result = mas.analyze("https://physionet.org/content/ptb-xl/1.0.3/")

splits = mas.get_splits("ptb-xl")
train_ids = splits["train"]

Links

Project details


Download files

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

Source Distribution

cardiomas-0.2.0.tar.gz (62.4 kB view details)

Uploaded Source

Built Distribution

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

cardiomas-0.2.0-py3-none-any.whl (51.1 kB view details)

Uploaded Python 3

File details

Details for the file cardiomas-0.2.0.tar.gz.

File metadata

  • Download URL: cardiomas-0.2.0.tar.gz
  • Upload date:
  • Size: 62.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cardiomas-0.2.0.tar.gz
Algorithm Hash digest
SHA256 10614f5fad7a23694d52abfb6f08915202345b100718f6abb0d4ff5ec8b25c55
MD5 c937c3b987c3a2b5d6fcdef3e386cf83
BLAKE2b-256 d8eed2dd83d3e39dbcf8c871c68e7320888ebb2d3a8ab94bbe798ac8a3e4e2d2

See more details on using hashes here.

Provenance

The following attestation bundles were made for cardiomas-0.2.0.tar.gz:

Publisher: publish.yml on vlbthambawita/CardioMAS

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

File details

Details for the file cardiomas-0.2.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for cardiomas-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cca3b8bca7fac44f150bc69825aacbecd43aef0b71280f7c880244643fdeea1c
MD5 10ffe09b8325f6605aad8734a02ac9bd
BLAKE2b-256 17d1e34e610da2c607b89e0ba1b4db0726511b632674b12d7ecb9b0acb3b42a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for cardiomas-0.2.0-py3-none-any.whl:

Publisher: publish.yml on vlbthambawita/CardioMAS

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