dicomweb-client
Client for DICOMweb RESTful services.
What it is and what it does
dicomweb-client is a Python library that acts as a client for DICOMweb services—the RESTful standard for accessing medical imaging data. It wraps HTTP communication with medical imaging servers, handling the complexity of DICOM data formats and web protocols so you can query, retrieve, and work with medical images programmatically. The package depends on numpy, pillow, pydicom, requests, retrying, and typing-extensions to manage image data, network communication, and retry logic.
It's designed for researchers, clinicians, and developers building medical imaging applications that need to interact with remote DICOM repositories. The library is actively maintained, supports modern Python versions (3.10 through 3.14), and carries no known security vulnerabilities. It's particularly useful in healthcare IT workflows, digital pathology systems, and research platforms that integrate with standardized imaging infrastructure.
Use it for:
- Query a remote DICOMweb server to search for studies, series, or instances matching specific criteria.
- Retrieve medical imaging data from a cloud or institutional DICOM repository for local analysis or visualization.
- Build a web-based medical imaging viewer or analysis tool that fetches data on demand from a DICOMweb endpoint.
- Automate batch processing of imaging data by programmatically accessing and downloading studies from a remote server.
- Integrate DICOM data access into research pipelines or machine learning workflows that require standardized imaging retrieval.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A Python client library for interacting with DICOMweb RESTful services, enabling programmatic access to medical imaging data stored on remote servers.
Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and is licensed permissively under MIT. It fills a clear need for standardized DICOMweb access in Python. Install it if you're building healthcare or medical imaging applications that need to communicate with DICOMweb-compliant servers.
Install
dicomweb-client on PyPI
pip
pip install dicomweb-clientuv
uv add dicomweb-clientpoetry
poetry add dicomweb-clientInstalling dicomweb-client
Before you install
Low friction install with a pure-Python wheel and six straightforward dependencies. The project is actively maintained with a recent release (17 days old) and steady commit activity, making it reliable for production use.
License in practice
Licensed under MIT (permissive), so you can use, modify, and distribute this package freely in both open-source and commercial projects with minimal restrictions.
Quickstart
pip install dicomweb-client
from dicomweb_client.api import DICOMwebBaseURL
client = DICOMwebBaseURL('https://your-dicomweb-server/dicom-web')
studies = client.search_for_studies()
Requires Python 3.10 or later; the remote DICOMweb server must be accessible and compliant with the DICOMweb standard.
Verify before relying
- Whether the package supports all DICOMweb query/retrieve operations or a subset of the standard.
- Performance characteristics when working with large imaging datasets or high-volume requests.
- Whether command-line interface functionality is documented in the fact sheet but not detailed here.
Package facts
| License | LICENSE (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 6 — numpy, pillow, pydicom, requests, retrying, typing-extensions |
| Maintenance | actively maintained — 17 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 102,247/month — #12,880 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: dicomweb_client-0.61.1-py3-none-any.whl
Tags
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
highdicomHighdicom provides a high-level Python API for…
permissive · top 15,000 on PyPI
odg-clientodg-client is a Python client library for…
unclear · top 15,000 on PyPI
pyxnatpyxnat provides Python bindings to interact…
permissive · top 15,000 on PyPI
dicom2niftiConverts DICOM medical imaging files to NIfTI…
permissive · top 15,000 on PyPI
openslide-pythonOpenSlide Python provides a Python interface to…
copyleft · top 15,000 on PyPI
python-gdcmPython wrapper for GDCM (Grassroots DICOM), a…
permissive · top 15,000 on PyPI
rapidataA Python client library for interacting with…
permissive · top 15,000 on PyPI
pydicomPydicom reads, modifies, and writes DICOM…
permissive · top 5,000 on PyPI
pylibjpegDecodes and encodes JPEG, JPEG-LS, JPEG 2000,…
permissive · top 15,000 on PyPI
scrapinghubA Python client library for communicating with…
permissive · top 15,000 on PyPI