This is a python module started to package utility functions that are locally made but used everyday. After while being improved along with other projects, these short-cut functions have become essential to work with various project.
pip install dl-cliche
You can avoid repeating yourself with these cliches:
%matplotlib inline
%reload_ext autoreload
%autoreload 2
with following one liner.
from dlcliche.notebook import *
from dlcliche.utils import *
Then you can simply start your code that uses numpy, pandas or utility like:
get_logger()
to make default logger instance.lock_file_mutex()
to make OS dependency-free mutex lock.- and so on...
from dlcliche.notebook import *
from dlcliche.utils import *
Type followings where you want to suppress warnings later on.
import warnings; simply_ignore(warnings)
Still need to import warnings, simply_ignore
wraps what to do then.
- Basic function interface document to be ready.
- (Japanese) 機械学習個人レベルのワークフロー改善@Qiita