# ehrapy
**Repository Path**: mirrors_theislab/ehrapy
## Basic Information
- **Project Name**: ehrapy
- **Description**: Electronic Health Record Analysis with Python.
- **Primary Language**: Unknown
- **License**: Apache-2.0
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2023-09-07
- **Last Updated**: 2026-03-22
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
[](https://github.com/theislab/ehrapy/actions/workflows/build.yml)
[](https://codecov.io/gh/theislab/ehrapy)
[](https://opensource.org/licenses/Apache2.0)
[](https://pypi.org/project/ehrapy/)
[](https://pypi.org/project/ehrapy)
[](https://ehrapy.readthedocs.io/)
[](https://github.com/theislab/ehrapy/actions/workflows/test_cpu.yml)
[](https://github.com/pre-commit/pre-commit)
# 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](https://ehrapy.readthedocs.io/en/latest) for installation, tutorials, use cases, and more.
## Installation
You can install _ehrapy_ via [pip] from [PyPI]:
```console
$ pip install ehrapy
```
## API
Please have a look at the [API documentation](https://ehrapy.readthedocs.io/en/latest/api.html) and the [tutorials](https://ehrapy.readthedocs.io/en/latest/tutorials/index.html).
```python
import ehrapy as ep
```
## Citation
Read more about ehrapy in the [associated publication](https://doi.org/10.1038/s41591-024-03214-0).
```bibtex
@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}
}
```
[pip]: https://pip.pypa.io/
[pypi]: https://pypi.org/
[api]: https://ehrapy.readthedocs.io/en/latest/api.html