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.4.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.4-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: radman-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 1843eac57015bcc8f4c39b26a23a41d6f584c8bd5c2324855a46f4e0e233f559
MD5 461d6e70d707bd3f5ba0c3c25f1430da
BLAKE2b-256 684674ff6adc8e8ff53307f12e6e7791041236dedf5a314ad253653fea6ccae8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: radman-0.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 47c6d80d6bbdd0e64262690536627facd7ba8cd3c39f515ff62132e32cb88d07
MD5 5bef39d2a0d440fdcf32da0e50cc6ff9
BLAKE2b-256 cc8a91c9161ec7e5182a9bc150e6369b5172e440286d08904d2f260784f459b0

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