craw
The _get_version_message is a private function that provide
a human readable version of craw package and python
which is common to all scripts.
Each script have a public function get_version_message
that call this function for the common part and add the version of all dependencies need for the script.
-
craw.
get_version_message
()[source]
Returns: | A human readable version of the craw package version |
Return type: | string |
-
craw.
init_logger
(log_level)[source]
Initiate the “root” logger for craw library
all logger create in craw package inherits from this root logger
This logger write logs on sys.stderr
Parameters: | log_level (int) – the level of the logger |