Module zut.config
Configuration (logging, settings, etc).
For usage of logging see zut.get_logger and (less frequently zut.log_warnings).
Functions
|
|
|
Find the given file name from the given start directory (or current working directory if none given), up to the root. |
|
Return current locale lang, for example: fr_FR. |
|
|
|
Load .env from the given or current directory (or the given file if any) to environment variables. |
|
Parse properties/ini/env file content. |
|
Register a locale for the entire application (system default locale if argument value is None). |
|
Use a locale temporary (in the following thread-local block/context). |
Classes
|
|
|
|
|
A logging handler that counts warnings and errors. |