Skip to main content

dl-cliche: Packaging cliche utilities

Project description

PyPI PyPI - License PyPI - Python Version PyPI - Downloads

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for dl-cliche, version 0.1.12
Filename, size File type Python version Upload date Hashes
Filename, size dl_cliche-0.1.12-py3-none-any.whl (48.9 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page