Skip to main content

Python Package for interfacing with Radman APIs

Project description

Getting started

pip install radman

Example

os.makedirs(self.settings.CACHE_PATH,exist_ok=True)

base_url = self.settings.RADMAN_URL username = self.settings.RADMAN_USER password = self.settings.RADMAN_PASS

radman = Radman(base_url, username, password) report_start = self.settings.REPORT_PERIOD['previous']['start'] report_end = self.settings.REPORT_PERIOD['current']['end'] query_params = { 'filter1': f'study_date,bt,{report_start},{report_end}', 'join' : 'study,series,instance' } print(query_params) result = radman.run_query("study_ct", query_params) if result: with open(self.data_json_path, 'w') as file: json.dump(result, file) print("Query result saved")

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

radman-0.0.3.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

radman-0.0.3-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file radman-0.0.3.tar.gz.

File metadata

  • Download URL: radman-0.0.3.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for radman-0.0.3.tar.gz
Algorithm Hash digest
SHA256 e4110c5ddddb7a6a31e61cd696a6b0ac3672eca937cc06336719d3059786ab85
MD5 6c7fd437ae2f4454717150ed380518db
BLAKE2b-256 a0eb5ea2b5fe4780b9aa84625866ce652b1ddccbd3feda296821d97ef2284088

See more details on using hashes here.

File details

Details for the file radman-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: radman-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for radman-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c04c698b9ac4a3c0223331cdeee70bfb8aadf449fc84374bfe93f8c198a17f40
MD5 cab28c5c4b717e54c3d9043902e23d97
BLAKE2b-256 2958677bba7c1630bd7ac3c20fd6c37171848c081fb80ac53e8ace6d15673c0e

See more details on using hashes here.

Supported by

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