Skip to main content

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

dicom_info-0.1.0.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dicom_info-0.1.0-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

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

Hashes for dicom_info-0.1.0.tar.gz
Algorithm Hash digest
SHA256 958fbcfb6ed5b0b99b3e0bc325014aba2369112c1001b43b196df3415da6504e
MD5 9ef4965e6a8cb4c1200e3fca9891fed2
BLAKE2b-256 97562fd13011cc3db39db9c8a1edd2e5acee675eec80955d5b603aceba7e8cff

See more details on using hashes here.

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

Hashes for dicom_info-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a85e412c54a3cd9e1625f45a6e33293646340df7925581b143be5a65756c316
MD5 5a02c1c084e8d9a809550310955acab2
BLAKE2b-256 6483600eca8eb484d94789492b4db4f75ae072b0f026414eaddef32cc55109c5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page