Skip to main content

Pure python package for DICOM medical file reading and writing

Project description

pydicom

Build Status AppVeyor CircleCI codecov Python version PyPI version DOI

pydicom is a pure python package for working with DICOM files. It was made for inspecting and modifying DICOM data in an easy "pythonic" way. The modifications can be written again to a new file.

As a pure python package, pydicom can run anywhere python runs without any other requirements, although NumPy is needed if manipulating pixel data.

pydicom is not a DICOM server, and is not primarily about viewing images. It is designed to let you manipulate data elements in DICOM files with python code.

Limitations -- for files with compressed pixel data, pydicom can decompress it (with additional libraries installed) and allow you to manipulate the data, but can only store changed pixel data as uncompressed. Files can always be read and saved (including compressed pixel data that has not been modified), but once decompressed, modified pixel data cannot be compressed again.

Documentation

pydicom documentation is available on GitHub Pages both for the development (master) version and for the released version. The documentation for the previous 0.9.9 version is still there for reference.

See Getting Started for installation and basic information, and the User Guide for an overview of how to use the pydicom library. To contribute to pydicom, read our contribution guide. To contribute an example or extension of pydicom that does not belong with the core software, see our contribution repository, contrib-pydicom.

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

pydicom-1.2.2.tar.gz (7.0 MB view details)

Uploaded Source

Built Distribution

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

pydicom-1.2.2-py2.py3-none-any.whl (7.0 MB view details)

Uploaded Python 2Python 3

File details

Details for the file pydicom-1.2.2.tar.gz.

File metadata

  • Download URL: pydicom-1.2.2.tar.gz
  • Upload date:
  • Size: 7.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for pydicom-1.2.2.tar.gz
Algorithm Hash digest
SHA256 aab3979cbd985feb6a44a3e751805d913629de82c4810ee94c35b9399aeaf0d7
MD5 74bbb9bce7de750b75731554cb04de63
BLAKE2b-256 6560403e8ba7f2aa41803c4c91f523e236644fc62438e0f292eda8e8eb681408

See more details on using hashes here.

File details

Details for the file pydicom-1.2.2-py2.py3-none-any.whl.

File metadata

  • Download URL: pydicom-1.2.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.0 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for pydicom-1.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 44a11323e9ee5c189da20958c28ca426656778ee7c7942a2126bf0a9f6aa4e95
MD5 87bc925ec289cf2b657734aa09bab7cc
BLAKE2b-256 4388d3c419ab2e753e7651510882a53219373e78fb55294cb247dffd3934ea55

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