ehrapy overview
ehrapy is a modular open-source Python framework for exploratory analysis of heterogeneous epidemiological and EHR data. It supports a full pipeline from data ingestion and quality control to advanced analyses such as clustering, survival, trajectory, causal inference, deep learning, and more.
Documentation
Please read the documentation for installation, tutorials, use cases, and more.
Installation
You can install ehrapy via pip from PyPI:
$ pip install ehrapy
API
Please have a look at the API documentation and the tutorials.
import ehrapy as ep
Citation
Read more about ehrapy in the associated publication.
@article{Heumos2024,
author = {Heumos, Lukas and Ehmele, Philipp and Treis, Tim and Upmeier zu Belzen, Julius and Roellin, Eljas and May, Lilly and Namsaraeva, Altana and Horlava, Nastassya and Shitov, Vladimir A. and Zhang, Xinyue and Zappia, Luke and Knoll, Rainer and Lang, Niklas J. and Hetzel, Leon and Virshup, Isaac and Sikkema, Lisa and Curion, Fabiola and Eils, Roland and Schiller, Herbert B. and Hilgendorff, Anne and Theis, Fabian J.},
year = {2024},
month = {11},
day = {01},
title = {An open-source framework for end-to-end analysis of electronic health record data},
journal = {Nature Medicine},
volume = {30},
number = {11},
pages = {3369--3380},
issn = {1546-170X},
doi = {10.1038/s41591-024-03214-0},
url = {https://doi.org/10.1038/s41591-024-03214-0}
}
Metadata
Release files for ehrapy 0.15.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ehrapy-0.15.0.tar.gz | 21.4 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ehrapy-0.15.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.6 MB
Release files / ehrapy-0.15.0.tar.gz
| Download URL | ehrapy-0.15.0.tar.gz |
|---|---|
| Size | 21.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b98aa7441ad6de85b358a670f535874e270774bdfb905945078c35b660b42537
|
|
BLAKE2b-256 checksum How to use checksums |
f101ac0ea82de78c7b5ee47612ac312578b3710557a6ed922a2c3775e98b6b34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 9, 2026.
Transparency logRelease files / ehrapy-0.15.0-py3-none-any.whl
| Download URL | ehrapy-0.15.0-py3-none-any.whl |
|---|---|
| Size | 201.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
57731236808d7c0429784e0a2b6b89b5bc95d14ed5d5902176fd6a92f5d59347
|
|
BLAKE2b-256 checksum How to use checksums |
8ed36896c3ce94c8d157fef80e36ef87467f8019b4fb20949a48524b340452f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 9, 2026.
Transparency log