storj.configuration module¶
-
APP_NAME
= 'storj'¶ (str) – the application name.
-
CFG_EMAIL
= 'email'¶ (str) – configuration parameter that holds the Storj account email address.
-
CFG_PASSWORD
= 'password'¶ (str) – configuration parameter that holds the Storj account password.
-
read_config
()[source]¶ Reads configuration storj client configuration.
- Mac OS X (POSIX):
- ~/.foo-bar
- Unix (POSIX):
- ~/.foo-bar
- Win XP (not roaming):
C:\Documents and Settings\<user>\Application Data\storj
- Win 7 (not roaming):
C:\Users\<user>\AppData\Local\storj
Returns: storj account credentials (email, password). Return type: (tuple[str, str])