Skip to main content

XML2DCM

XML2DCM은 XML 형태의 데이터를 DICOM 형태로 바꾸는 패키지 입니다. ( 여기서 XML 데이터는 ECG 데이터를 담고 있습니다. )

XML2DCM is a package that converts XML formatted data into DICOM format. ( the XML data contains ECG information. )


XML Structure

XML 파일을 DCM 파일로 변환하기 위해서는 XML 파일의 구조가 정해진 형식을 따라야 합니다. 변환을 진행하기 전에, 파일이 이 구조를 제대로 갖추고 있는지 확인해야 합니다.

To convert an XML file into a DCM file, the structure of the XML file must adhere to a specified format. Before proceeding with the conversion, it is necessary to verify that the file conforms to this structure.


To start using xml2dcm

Install

PIP

pip install xml2dcm
python -m pip install --upgrade xml2dcm

Using the XML2DCM Library in Python

from xml2dcm import xml2dcm

# Convert XML file to DICOM file
# Output folder is optional. If not set, it defaults to 'generated_dicom_from_xml'
xml2dcm.create_dicom_file('path/to/your/XML_file.xml', 'path/to/your/output_folder')

# Check the structure of the DICOM file
xml2dcm.read_dicom('path/to/your/DICOM.dcm')

license

This software is licensed under the Apache 2 license, quoted below

Copyright 2024 SNUH https://www.snuh.org

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Metadata

Release files for xml2dcm 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xml2dcm 0.0.6
File Size Uploaded
xml2dcm-0.0.6.tar.gz 10.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for xml2dcm 0.0.6
File Interpreter ABI Platform
xml2dcm-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 20.2 kB

Release files / xml2dcm-0.0.6.tar.gz

Download URL xml2dcm-0.0.6.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
1cc917e224feb7162fea60b98d9f304e6f777d320e9ac854bdcc76f3f892b97f
BLAKE2b-256 checksum
How to use checksums
1603bdf212b0b958046d635c43c2f0be54fd45ab48612ba96d32b66d4da3f3fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.3

Release files / xml2dcm-0.0.6-py3-none-any.whl

Download URL xml2dcm-0.0.6-py3-none-any.whl
Size 10.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
650c2c9e3c40808ae819f47f8fdd1b8a64d2d88f5ef3ded3a475346a10e4eda9
BLAKE2b-256 checksum
How to use checksums
1f85b7b58e1151ede1d3a1f5fdeba60c4999b834ff30b708b3b03d3f290d0557
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page