Prints information about DIOCM files.
Project description
dicom-info
A command-line tool for displaying DICOM file information.
Description
dicom-info is a simple Python utility that reads and displays information from DICOM (Digital Imaging and Communications in Medicine) files. It provides a straightforward way to inspect DICOM file metadata from the command line.
Requirements
- Python >= 3.13
- pydicom >= 3.0.1
Installation
With uv:
uvx dicom-info
or pip
pip install dicom-info
Usage
The basic syntax is:
dicom-info FILE [FILE ...]
Example:
dicom-info path/to/file.dcm
dicom-info file1.dcm file2.dcm file3.dcm
The tool will display information for each DICOM file, including all available metadata and attributes.
Error Handling
The tool will exit with status code 1 if:
- Files are not found
- Files are not valid DICOM files
License
This project is licensed under the GNU GPL version 3 license which can be found here.
Contributing
Contributions welcome! Please open an issue or submit a pull request.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dicom_info-0.1.0.tar.gz.
File metadata
- Download URL: dicom_info-0.1.0.tar.gz
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
958fbcfb6ed5b0b99b3e0bc325014aba2369112c1001b43b196df3415da6504e
|
|
| MD5 |
9ef4965e6a8cb4c1200e3fca9891fed2
|
|
| BLAKE2b-256 |
97562fd13011cc3db39db9c8a1edd2e5acee675eec80955d5b603aceba7e8cff
|
File details
Details for the file dicom_info-0.1.0-py3-none-any.whl.
File metadata
- Download URL: dicom_info-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a85e412c54a3cd9e1625f45a6e33293646340df7925581b143be5a65756c316
|
|
| MD5 |
5a02c1c084e8d9a809550310955acab2
|
|
| BLAKE2b-256 |
6483600eca8eb484d94789492b4db4f75ae072b0f026414eaddef32cc55109c5
|