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.5.tar.gz (3.7 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.5-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: radman-0.0.5.tar.gz
  • Upload date:
  • Size: 3.7 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.5.tar.gz
Algorithm Hash digest
SHA256 1ad6401f10746306e565a05f946434060630be830725b06310291b9ef8150aa7
MD5 3951def4c09f586dc236212d0242944f
BLAKE2b-256 43344de202e0430077a7ccf5d15e39c40e0d08f55c2496571bae0a88ec8b2cc5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: radman-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 3.9 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 be5dd79563f34509e5661c1423a8e5c77e0edce4553da3c891d2953a8ebe6453
MD5 e9142a7ad0c3987ff2c12489a7e7825e
BLAKE2b-256 35bc371caced708839b5975761b0cc173dccaa44b419121f318ffcab2c9ead1b

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