settings_sample.yaml

Mon, 08 Jan 2018 14:59:21 +0100

author
Moritz Wanzenböck <moritz.wanzenboeck@catalysts.cc>
date
Mon, 08 Jan 2018 14:59:21 +0100
changeset 29
3e3e5bda6b77
parent 11
da2c50558296
child 15
93b6b945d939
permissions
-rw-r--r--

Refactor argument parsing + New commands

* Restructured argument parsing to use subcommands.
* Move some common options to requests session (auth + verify)
* Allow for a common location for settings file (~/.scc_access.yaml)
* Update Readme
* Add option to list available files
* Add option to download existing files

# This file contains the user-specific settings for the scc_access script.
#
# You should rename the file settings_sample.yaml to and move it outside the module repository. Take care to set the
# minimum required permissions, as this file contains SCC access codes. For website login, it is recommended to
# use credential for a user without station-management privileges.
basic_credentials: ['username', 'password']     # The HTTP user name and password that is needed to access the SCC site.
website_credentials: ['username', 'password']   # The user-name and password that is needed to log in to the SCC site.
output_dir: /path/to/files/scc_output/          # The directory to download the files
base_url: https://scc.imaa.cnr.it/              # SCC base URL. Normally you shouldn't need to change that.

mercurial