dl-cliche: Packaging cliche utilities
Project description
dl-cliche: Packaging cliche utilities
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.
Installation
pip install dl-cliche
What's for?
You can avoid repeating yourself with these cliches:
%matplotlib inline
%reload_ext autoreload
%autoreload 2
with following one liner.
from dlcliche.notebook import *
Quickstart for a python code
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...
Quickstart for a jupyter notebook
from dlcliche.notebook import *
from dlcliche.utils import *
Warnings to ignore
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.
Documents
- Basic function interface document to be ready.
- (Japanese) 機械学習個人レベルのワークフロー改善@Qiita
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file dl_cliche-0.1.12-py3-none-any.whl
.
File metadata
- Download URL: dl_cliche-0.1.12-py3-none-any.whl
- Upload date:
- Size: 48.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c72b5ac6e26894ff1b6ef76f6d71c02369038b9478ef57b4348ed39314bd0b25 |
|
MD5 | 017aa3cef32571f3894172a3a0d47301 |
|
BLAKE2b-256 | 36066c91607450001d4043fd975fc291560def853c49600d818d4fa2dd191742 |