Skip to main content

Library for storing image metadata from a directory of images to a PostgreSQL DB.

Project description

DICOM Directory to PostgreSQL DB

Have you ever gotten a DICOM dataset from the internet in the form of a folder with a bunch of DCM files in it? I did recently and wanted to get an idea of the data that was housed in all of these DCM files, so I wrote this small tool that will extract all of the the DICOM elements you're interested in from all of the DCM files in the directory and it will put the data into a PostgreSQL DB table so you can indirectly query the DICOM header data.

Python modules required

  • python 3.7.5
  • psycopg2 2.8.4
  • pydicom 1.3.0

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

metadata_to_db-0.0.1.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

metadata_to_db-0.0.1-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file metadata_to_db-0.0.1.tar.gz.

File metadata

  • Download URL: metadata_to_db-0.0.1.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/2.7.17

File hashes

Hashes for metadata_to_db-0.0.1.tar.gz
Algorithm Hash digest
SHA256 7ddbf97ce463cbb9bb9ebded3ff12fae47665a39687e7f64c20b120c9c5a480a
MD5 1458b385f1dd70cd7f678da2754df821
BLAKE2b-256 fb17f62822b0ad902ae3a9dd641f4c9d67f84c70120fe2a46c1940a954d84027

See more details on using hashes here.

File details

Details for the file metadata_to_db-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: metadata_to_db-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/2.7.17

File hashes

Hashes for metadata_to_db-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c6bd2e88ef3161c17adf13922cb71b128a4f3316303798a9688d593abc778315
MD5 a8e2ff6d3b3788d7b384226e7f8aa130
BLAKE2b-256 83a04fcab2ec01b1d02e68efe8d7127feceb06c0270da51a4b83d3c89c50afc0

See more details on using hashes here.

Supported by

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