Accessing and Retrieving dicom images from Orthanc using Python

Hi Everyone,
Can anyone give a suggestion how can i access and retrieve data from Orthanc using python . I have used Pynetdicom package but i am not able to access the Orthanc.


Check out the sample Python scripts that are part of the Orthanc distribution:

Sébastien’s example scripts are indeed a very good starting place. I also eventually built a pythonic interface for orthanc that may be useful. It is shared as part of one of my github projects:

Of particular use to me at least is a Python implementation of the Orthanc “OID” generation algorithm, so you can figure out where Orthanc is going to store an object rather than searching for everything. And it also hides some of the complexity of running secondary queries to get answers to find requests.