Skip to main content

eICU MEDS Extraction ETL

PyPI - Version Documentation Status Static Badge codecov tests code-quality python license PRs contributors

This repository contains the code for downloading the eICU dataset from PhysioNet and transforming it into the Medical Event Data Standard (MEDS) format.

pip install eICU-MEDS # use `pip install -e .` for local installation in editing mode
export DATASET_DOWNLOAD_USERNAME=$PHYSIONET_USERNAME
export DATASET_DOWNLOAD_PASSWORD=$PHYSIONET_PASSWORD
MEDS_extract-eICU root_output_dir=data/eicu_meds do_download=False

MEDS-transforms settings

If you want to convert a large dataset, you can use parallelization with MEDS-transforms (the MEDS-transformation step that takes the longest).

Using local parallelization with the hydra-joblib-launcher package, you can set the number of workers:

pip install hydra-joblib-launcher --upgrade

Then, you can set the number of workers as environment variable:

export N_WORKERS=8

Moreover, you can set the number of subjects per shard to balance the parallelization overhead based on how many subjects you have in your dataset:

export N_SUBJECTS_PER_SHARD=100000

Metadata

Release files for eICU-MEDS 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eICU-MEDS 0.0.2
File Size Uploaded
eicu_meds-0.0.2.tar.gz 131.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for eICU-MEDS 0.0.2
File Interpreter ABI Platform
eicu_meds-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 154.2 kB

Release files / eicu_meds-0.0.2.tar.gz

Download URL eicu_meds-0.0.2.tar.gz
Size 131.8 kB
Tags Source
SHA-256 checksum
How to use checksums
583ee416c088dcf9f6f24bfb4b8e7ac92b373f86769af2530bf6cb495dd34971
BLAKE2b-256 checksum
How to use checksums
d6320a449b8a67d823a4479da47fed2536710e6d152a9551bbb50cbbe876499c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Nov 5, 2025.

Transparency log

Release files / eicu_meds-0.0.2-py3-none-any.whl

Download URL eicu_meds-0.0.2-py3-none-any.whl
Size 22.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c36ec62a6fd4b998b96f47896ec3ee7dfdf2f6380b132cdde8b92f2ebb46cac1
BLAKE2b-256 checksum
How to use checksums
2b36382b291e9231fe9648a2e4799e4c25f5d1c57366f7d2add213a9ad05385e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Nov 5, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page