soccon.make_key module
- soccon.make_key.build_kr(url, beiwe_username, beiwe_pw, access_key, secret_key, out_path, beiwe_code_path, file_pw)
Builds and saves a keyring file used as a key to download data from Beiwe servers
- Parameters:
url (str) – Url to Beiwe server. Defaults to: “https://studies.beiwe.org”
beiwe_username (str) – Beiwe username
beiwe_pw (str) – Beiwe password
access_key (str) – Public access key obtained from Beiwe server
secret_key (str) – Secret access key obtained from Beiwe server
out_path (str) – Path to directory into which key will be saved
beiwe_code_path (str) – Path to https://github.com/onnela-lab/beiwe cloned repository
file_pw (str) – Password with which to encrypt the file
- soccon.make_key.main()