1# Copyright 2008-2018 pydicom authors. See LICENSE file for details.
2"""pydicom package -- easily handle DICOM files.
3   See Quick Start below.
4
5-----------
6Quick Start
7-----------
8
91. A simple program to read a dicom file, modify a value, and write to a new
10   file::
11
12    from pydicom.filereader import dcmread
13    dataset = dcmread("file1.dcm")
14    dataset.PatientName = 'anonymous'
15    dataset.save_as("file2.dcm")
16
172. See the files in the examples directory that came with this package for more
18   examples, including some interactive sessions.
19
203. Learn the methods of the Dataset class; that is the one you will work with
21   most directly.
22
234. Questions and comments can be directed to the pydicom google group:
24   http://groups.google.com/group/pydicom
25
265. Bugs and other issues can be reported in the issue tracker:
27   https://www.github.com/pydicom/pydicom
28
29"""
30import warnings
31
32from pydicom.dataelem import DataElement
33from pydicom.dataset import Dataset, FileDataset
34with warnings.catch_warnings():
35    warnings.simplefilter("ignore")
36    from pydicom.filereader import read_file
37    from pydicom.filewriter import write_file
38
39from pydicom.filereader import dcmread
40from pydicom.filewriter import dcmwrite
41from pydicom.sequence import Sequence
42
43from ._version import __version__, __version_info__, __dicom_version__
44
45__all__ = ['DataElement',
46           'Dataset',
47           'FileDataset',
48           'Sequence',
49           'dcmread',
50           'dcmwrite',
51           'read_file',
52           'write_file',
53           '__version__',
54           '__version_info__']
55