Backend module for capice-data-backend.

Functions:

download_file(url, filename)

Download file from URL.

request_file(requested_path, transfer_method)

Request a file from the backend location.

version_info()

Get the version of extpar and extpar_client.

capice_data.api.download_file(url: str, filename: str) str

Download file from URL.

capice_data.api.request_file(requested_path: str, transfer_method: str, swift_settings: SwiftSettings = SwiftSettings(os_auth_token='', os_storage_url='', swift_url='https://swift.dkrz.de', swift_container='issm'), nextcloud_settings: NextcloudSettings = NextcloudSettings(nextcloud_auth_token='', nextcloud_user='', nextcloud_url='https://nextcloud.awi.de', nextcloud_container='issm')) str

Request a file from the backend location.

capice_data.api.version_info() Dict[str, str]

Get the version of extpar and extpar_client.