You can install ehrapy via [pip] from [PyPI]:
$ pip install ehrapy
Please have a look at the Usage documentation and the tutorials.
import ehrapy as ep
Heumos, L., Ehmele, P., Treis, T. et al. An open-source framework for end-to-end analysis of electronic health record data. Nat Med (2024). https://doi.org/10.1038/s41591-024-03214-0.