pydicom/pydicom
Read, modify and write DICOM files with python code observed · 2026-08-28
Health v2 · maintenance only
89/100
- Activity 95
- Release rhythm 75
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 13
- age_days: 4689
- days_rel: 166
- days_push: 30
- n_releases_24m: 4
Adoption not part of the score
2197 stars · 546 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
pydicom is a pure Python library for reading, modifying, and writing DICOM medical imaging files and File-sets in a pythonic way. It optionally converts compressed and uncompressed Pixel Data to NumPy ndarrays and back.
Use cases
- read and parse DICOM files in python
- modify DICOM metadata like patient name and save the file
- convert DICOM pixel data to a numpy array
- work with DICOMDIR and DICOM File-sets
- extract medical imaging data for machine learning pipelines
- write DICOM datasets from scratch in python
When to choose
- you need general-purpose DICOM dataset I/O in Python without heavy dependencies
- you want to inspect or edit DICOM tags and metadata programmatically
- you need pixel data as NumPy arrays for analysis or ML
- you want a pure Python library that runs anywhere Python runs
When to avoid
- you need DICOM networking or SOP class services (use pynetdicom instead)
- you need turnkey anonymization workflows (use deid instead)
- you need a full medical imaging viewer or PACS application
Facets
library · maturity stable
parser serialization image-processing file-system healthcare image-processing files developer-tools python cross-platform dicom medical-imaging pixel-data numpy pure-python
3 sources
- readme: https://github.com/pydicom/pydicom · fetched 2026-08-28 · ce2dd28eb671
- homepage: https://pydicom.github.io/pydicom/dev · fetched 2026-08-29 · 73b8c167610f
- registry_pypi: https://pypi.org/pypi/pydicom/json · fetched 2026-08-29 · 3181028614f0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pydicom/pydicom | main | 89 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem