Skip to main content

Python Package for interfacing with Radman APIs

Project description

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.2.tar.gz (3.3 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.2-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: radman-0.0.2.tar.gz
  • Upload date:
  • Size: 3.3 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.2.tar.gz
Algorithm Hash digest
SHA256 06d04954dbf7a2138659bea71e251fa77848ae2747c05e5987caeba3cb9be68e
MD5 d501b40684fabe6d45aa9521aa2f3f43
BLAKE2b-256 15c21d10b8716848ceee151aaf39b8d04d1b85973cc2de91ae06e06ad34c8c86

See more details on using hashes here.

File details

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

File metadata

  • Download URL: radman-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.5 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 04b27cfcc81244c650335a1a409068905eadbbd203ad83d4cb5feb56c35d9028
MD5 9ab3c2e3cd7a8b6fd550414c5e406c4a
BLAKE2b-256 23c2d71afde96475557fa58e6bb23822ac0a02917a67771ebfeaa0ca45605d03

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