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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dl_cliche-0.1.10-py3-none-any.whl (45.5 kB view details)

Uploaded Python 3

File details

Details for the file dl_cliche-0.1.10-py3-none-any.whl.

File metadata

  • Download URL: dl_cliche-0.1.10-py3-none-any.whl
  • Upload date:
  • Size: 45.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.5

File hashes

Hashes for dl_cliche-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 bc5cad2e862f60e682122018ca1b0480d234c120705185cddfdb1cfc75142e39
MD5 56560c3a71ebe6ec54edbccf19615197
BLAKE2b-256 93952f0bd931ebaacbb2815eb86f144f4a6b37a42f8b429da57912f369ec3c3e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page