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.1.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.1-py2.py3-none-any.whl (7.0 MB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: pydicom-1.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 0e68e79d6fba2fb472b52f3cc3ff4b6ddb626c651d23f666226ad9aae74626da
MD5 646d4c1113a51e8d7c987cbb24841b90
BLAKE2b-256 197d46eeeee63d522f74c1215ab9f79e66f6e9a641959cfe007e3a3af3bae044

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pydicom-1.2.1-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.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7fc34362fd7c20d95b04cf5e41c7e5bb54ab4f29fef6ff1dd3eb0783cafe174a
MD5 7a7f08449162a39f2183c62bd442e9d5
BLAKE2b-256 f08f0e38dc0bcaf81170e3e6a53c23a0ceb70d9991c7ec887245981b36f18358

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