No description
| .streamlit | ||
| .vscode | ||
| alembic | ||
| app_pages | ||
| templates | ||
| .gitignore | ||
| .python-version | ||
| alembic.ini | ||
| app.py | ||
| db_access.py | ||
| docker-compose.yml | ||
| Dockerfile | ||
| ecg_import_helper.py | ||
| ecg_importer.py | ||
| main.py | ||
| models.py | ||
| postgres-test.py | ||
| pyproject.toml | ||
| README.md | ||
ECG Data Importer
A web application to import ECG data from JSONL files into a PostgreSQL database.
Setup
-
Install dependencies:
pip install -e . -
Initialize database with sample data (if needed):
python init_db.py -
Run the app:
python main.py
Usage
- Upload JSONL files via the web interface at http://localhost:8000
- Files placed in the
uploadsfolder 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
uploadsfolder 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