# dicomtrolley
[](https://github.com/sjoerdk/dicomtrolley/actions/workflows/build.yml?query=branch%3Amaster)
[](https://pypi.org/project/dicomtrolley/)
[](https://pypi.org/project/dicomtrolley/)
[](https://codeclimate.com/github/sjoerdk/dicomtrolley)
[](https://github.com/psf/black)
[](http://mypy-lang.org/)
Retrieve medical images via WADO-URI, WADO-RS, QIDO-RS, MINT, RAD69 and DICOM-QR
* Uses `pydicom` and `pynetdicom`. Images and query results are `pydicom.Dataset` instances
* Query and download DICOM Studies, Series and Instances
* Integrated search and download - automatic queries for missing series and instance info

[dicomtrolley docs on readthedocs.io](https://dicomtrolley.readthedocs.io)
## Installation
```
pip install dicomtrolley
```
## Basic usage
```python
# Create a http session
session = requests.Session()
# Use this session to create a trolley using MINT and WADO
trolley = Trolley(searcher=Mint(session, "https://server/mint"),
downloader=WadoURI(session, "https://server/wado_uri"))
# find some studies (using MINT)
studies = trolley.find_studies(Query(PatientName='B*'))
# download the fist one (using WADO)
trolley.download(studies[0], output_dir='/tmp/trolley')
```
## Documentation
see [dicomtrolley docs on readthedocs.io](https://dicomtrolley.readthedocs.io)
Raw data
{
"_id": null,
"home_page": "https://github.com/sjoerdk/dicomtrolley",
"name": "dicomtrolley",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.8",
"maintainer_email": null,
"keywords": null,
"author": "sjoerdk",
"author_email": "sjoerd.kerkstra@radboudumc.nl",
"download_url": "https://files.pythonhosted.org/packages/e8/b3/a825bef54531c4b7269148ed12d9303ed3db3dfc0e1552701171bc174a0b/dicomtrolley-3.2.0.tar.gz",
"platform": null,
"description": "# dicomtrolley\n\n[](https://github.com/sjoerdk/dicomtrolley/actions/workflows/build.yml?query=branch%3Amaster)\n[](https://pypi.org/project/dicomtrolley/)\n[](https://pypi.org/project/dicomtrolley/)\n[](https://codeclimate.com/github/sjoerdk/dicomtrolley)\n[](https://github.com/psf/black)\n[](http://mypy-lang.org/)\n\nRetrieve medical images via WADO-URI, WADO-RS, QIDO-RS, MINT, RAD69 and DICOM-QR\n\n* Uses `pydicom` and `pynetdicom`. Images and query results are `pydicom.Dataset` instances\n* Query and download DICOM Studies, Series and Instances\n* Integrated search and download - automatic queries for missing series and instance info\n\n\n\n[dicomtrolley docs on readthedocs.io](https://dicomtrolley.readthedocs.io)\n\n## Installation\n```\npip install dicomtrolley\n```\n\n## Basic usage\n```python\n# Create a http session\nsession = requests.Session()\n\n# Use this session to create a trolley using MINT and WADO\ntrolley = Trolley(searcher=Mint(session, \"https://server/mint\"),\n downloader=WadoURI(session, \"https://server/wado_uri\"))\n\n# find some studies (using MINT)\nstudies = trolley.find_studies(Query(PatientName='B*'))\n\n# download the fist one (using WADO)\ntrolley.download(studies[0], output_dir='/tmp/trolley')\n```\n\n## Documentation\nsee [dicomtrolley docs on readthedocs.io](https://dicomtrolley.readthedocs.io)\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "Retrieve medical images via WADO-URI, WADO-RS, QIDO-RS, MINT, RAD69 and DICOM-QR",
"version": "3.2.0",
"project_urls": {
"Homepage": "https://github.com/sjoerdk/dicomtrolley",
"Repository": "https://github.com/sjoerdk/dicomtrolley"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "aeb5b8afb2c2df042f15a531c165c111f968d73a055a9b53f4d287aeba0c8cf9",
"md5": "97e379b46a90a448cf9ffc474349e5e4",
"sha256": "0eba96a16462155aaf2d8169741780977a2689e7b25dcd6807e636c3232ee8fb"
},
"downloads": -1,
"filename": "dicomtrolley-3.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "97e379b46a90a448cf9ffc474349e5e4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.8",
"size": 54290,
"upload_time": "2024-09-17T14:28:22",
"upload_time_iso_8601": "2024-09-17T14:28:22.573197Z",
"url": "https://files.pythonhosted.org/packages/ae/b5/b8afb2c2df042f15a531c165c111f968d73a055a9b53f4d287aeba0c8cf9/dicomtrolley-3.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e8b3a825bef54531c4b7269148ed12d9303ed3db3dfc0e1552701171bc174a0b",
"md5": "beb6fdda8cf45a3c21484206885a8795",
"sha256": "2567ac471d147c9a8ba44c78a2dbbe52b4cb61cb5fb8b2a94751c707ef31d363"
},
"downloads": -1,
"filename": "dicomtrolley-3.2.0.tar.gz",
"has_sig": false,
"md5_digest": "beb6fdda8cf45a3c21484206885a8795",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.8",
"size": 44055,
"upload_time": "2024-09-17T14:28:23",
"upload_time_iso_8601": "2024-09-17T14:28:23.689826Z",
"url": "https://files.pythonhosted.org/packages/e8/b3/a825bef54531c4b7269148ed12d9303ed3db3dfc0e1552701171bc174a0b/dicomtrolley-3.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-17 14:28:23",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "sjoerdk",
"github_project": "dicomtrolley",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"lcname": "dicomtrolley"
}