apluslms_file_transfer¶
Submodules¶
apluslms_file_transfer.color_print¶
-
class
apluslms_file_transfer.color_print.Colors[source]¶ Bases:
objectDefine a set of color patterns for printing
-
class
bg[source]¶ Bases:
object-
black= '\x1b[40m'¶
-
blue= '\x1b[44m'¶
-
cyan= '\x1b[46m'¶
-
green= '\x1b[42m'¶
-
lightgrey= '\x1b[47m'¶
-
orange= '\x1b[43m'¶
-
purple= '\x1b[45m'¶
-
red= '\x1b[41m'¶
-
-
class
fg[source]¶ Bases:
object-
black= '\x1b[30m'¶
-
blue= '\x1b[34m'¶
-
cyan= '\x1b[36m'¶
-
darkgrey= '\x1b[90m'¶
-
green= '\x1b[32m'¶
-
lightblue= '\x1b[94m'¶
-
lightcyan= '\x1b[96m'¶
-
lightgreen= '\x1b[92m'¶
-
lightgrey= '\x1b[37m'¶
-
lightred= '\x1b[91m'¶
-
orange= '\x1b[33m'¶
-
pink= '\x1b[95m'¶
-
purple= '\x1b[35m'¶
-
red= '\x1b[31m'¶
-
yellow= '\x1b[93m'¶
-
-
BOLD= '\x1b[1m'¶
-
ENDC= '\x1b[0m'¶
-
FAIL= '\x1b[91m'¶
-
HEADER= '\x1b[95m'¶
-
OKBLUE= '\x1b[94m'¶
-
OKGREEN= '\x1b[92m'¶
-
UNDERLINE= '\x1b[4m'¶
-
WARNING= '\x1b[93m'¶
-
bold= '\x1b[01m'¶
-
disable= '\x1b[02m'¶
-
invisible= '\x1b[08m'¶
-
reset= '\x1b[0m'¶
-
reverse= '\x1b[07m'¶
-
strikethrough= '\x1b[09m'¶
-
underline= '\x1b[04m'¶
-
class
apluslms_file_transfer.exceptions¶
-
exception
apluslms_file_transfer.exceptions.EnvVarNotFoundError(*var_name)[source]¶ Bases:
ExceptionException raised when the needed environment variables are not set
-
exception
apluslms_file_transfer.exceptions.GetFileUpdateError[source]¶ Bases:
ExceptionException raised during the process of getting files to update
-
exception
apluslms_file_transfer.exceptions.ImproperlyConfigured(description=None, response=None)[source]¶ Bases:
werkzeug.exceptions.HTTPExceptionException raised for improper configuration
-
exception
apluslms_file_transfer.exceptions.PublishError[source]¶ Bases:
ExceptionException raised during the process of publishing files