No description
Find a file
2026-04-05 21:34:33 +02:00
.streamlit split pages into separate files 2026-04-05 21:00:54 +02:00
.vscode added streamlit app, unified data base access 2026-04-05 20:39:05 +02:00
alembic added alembic, added marimo aop 2026-04-01 18:59:53 +02:00
app_pages reverted lost modifications 2026-04-05 21:34:33 +02:00
templates initial commit 2026-03-28 15:09:03 +01:00
.gitignore added alembic, added marimo aop 2026-04-01 18:59:53 +02:00
.python-version initial commit 2026-03-28 15:09:03 +01:00
alembic.ini added alembic, added marimo aop 2026-04-01 18:59:53 +02:00
app.py split pages into separate files 2026-04-05 21:00:54 +02:00
db_access.py added streamlit app, unified data base access 2026-04-05 20:39:05 +02:00
docker-compose.yml initial commit 2026-03-28 15:09:03 +01:00
Dockerfile initial commit 2026-03-28 15:09:03 +01:00
ecg_import_helper.py added alembic, added marimo aop 2026-04-01 18:59:53 +02:00
ecg_importer.py added alembic, added marimo aop 2026-04-01 18:59:53 +02:00
main.py added streamlit app, unified data base access 2026-04-05 20:39:05 +02:00
models.py added streamlit app, unified data base access 2026-04-05 20:39:05 +02:00
postgres-test.py initial commit 2026-03-28 15:09:03 +01:00
pyproject.toml split pages into separate files 2026-04-05 21:00:54 +02:00
README.md initial commit 2026-03-28 15:09:03 +01:00

ECG Data Importer

A web application to import ECG data from JSONL files into a PostgreSQL database.

Setup

  1. Install dependencies:

    pip install -e .
    
  2. Initialize database with sample data (if needed):

    python init_db.py
    
  3. Run the app:

    python main.py
    

Usage

  • Upload JSONL files via the web interface at http://localhost:8000
  • Files placed in the uploads folder are automatically processed.
  • View and fill missing user, activity, and notes at /missing

Usage

  • Upload JSONL files via the web interface at http://localhost:8000
  • Files placed in the uploads folder are automatically processed.
  • View and fill missing user, activity, and notes at /missing

Models

  • User: id, name
  • Activity: id, name
  • Recordings: id, user_id, activity_id, start_timestamp, note
  • EcgData: id, recording_id, relative_timestamp (seconds), voltage