Leslie Chow Debug Kit
Installation
pip install lcdk
Usage
from lcdk.lcdk import lcdk as LeslieChow
DBG=LeslieChow.lcdk()
DBG.log("{}".format("MESSAGE FROM DEBUG"))
DBG.lt_green("{}".format("MESSAGE FROM DEBUG"))
Further Help
Help on module lcdk.lcdk in lcdk:
NAME lcdk.lcdk
FILE lcdk/lcdk/lcdk.py
CLASSES builtin.object Message lcdk logging.LoggerAdapter(builtin.object) StyleAdapter
class Message(__builtin__.object)
| Methods defined here:
|
| __init__(self, fmt, *args, **kwargs)
|
| __str__(self)
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| __dict__
| dictionary for instance variables (if defined)
|
| __weakref__
| list of weak references to the object (if defined)
class StyleAdapter(logging.LoggerAdapter)
| Method resolution order:
| StyleAdapter
| logging.LoggerAdapter
| __builtin__.object
|
| Methods defined here:
|
| __init__(self, logger, extra=None)
|
| color_log(self, level, msg, color, *args, **kwargs)
|
| error(self, level, msg, *args, **kwargs)
|
| log(self, level, msg, *args, **kwargs)
|
| warning(self, level, msg, *args, **kwargs)
|
| ----------------------------------------------------------------------
| Methods inherited from logging.LoggerAdapter:
|
| critical(self, msg, *args, **kwargs)
| Delegate a critical call to the underlying logger, after adding
| contextual information from this adapter instance.
|
| debug(self, msg, *args, **kwargs)
| Delegate a debug call to the underlying logger, after adding
| contextual information from this adapter instance.
|
| exception(self, msg, *args, **kwargs)
| Delegate an exception call to the underlying logger, after adding
| contextual information from this adapter instance.
|
| info(self, msg, *args, **kwargs)
| Delegate an info call to the underlying logger, after adding
| contextual information from this adapter instance.
|
| isEnabledFor(self, level)
| See if the underlying logger is enabled for the specified level.
|
| process(self, msg, kwargs)
| Process the logging message and keyword arguments passed in to
| a logging call to insert contextual information. You can either
| manipulate the message itself, the keyword args or both. Return
| the message and kwargs modified (or not) to suit your needs.
|
| Normally, you'll only need to override this one method in a
| LoggerAdapter subclass for your specific needs.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from logging.LoggerAdapter:
|
| __dict__
| dictionary for instance variables (if defined)
|
| __weakref__
| list of weak references to the object (if defined)
class lcdk
| Methods defined here:
|
| __init__(self, **kwargs)
|
| error(self, errorMsg)
|
| getFormat(self, msg='', level='INFO')
|
| getLogLevel(self, level)
|
| log(self, msg, level='INFO')
|
| lt_cyan(self, msg, level='WARNING')
|
| lt_green(self, msg, level='WARNING')
|
| lt_purple(self, msg, level='WARNING')
|
| purple(self, msg, level='WARNING')
|
| red(self, msg, level='WARNING')
|
| trace(self, frame, event, arg='')
|
| warning(self, msg, level='WARNING')
Metadata
Release files for lcdk 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lcdk-0.3.tar.gz | 4.2 kB | Without provenance | Details for lcdk-0.3.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lcdk-0.3-py3.7.egg | Legacy Egg format | - | - | Details for lcdk-0.3-py3.7.egg |
| lcdk-0.3-py3-none-any.whl | Python 3 | none | any | Details for lcdk-0.3-py3-none-any.whl |
Total release size: 16.7 kB
Release files / lcdk-0.3.tar.gz
| Download URL | lcdk-0.3.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8fd0cb792aa8253a51dfc83727b40117a36179cc8ed304afe9332bac2972eeff
|
|
BLAKE2b-256 checksum How to use checksums |
5523a0554b85565ed58f48212ad611d86d949166edee0e533f92609395c2b9ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Release files / lcdk-0.3-py3.7.egg
| Download URL | lcdk-0.3-py3.7.egg |
|---|---|
| Size | 7.4 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
218265172a00eacae220a9d384e199f263b1011d5398d14a5453cfd2792ce3a1
|
|
BLAKE2b-256 checksum How to use checksums |
39c32575aea9e0bac64a827fed0c41a318d4bf658d98fa941a7090d452c605f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Release files / lcdk-0.3-py3-none-any.whl
| Download URL | lcdk-0.3-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8accfa03feaf6c8e1ce7d0f561a61ecb1de49cd28b70afa244f1e1edfd6fcc86
|
|
BLAKE2b-256 checksum How to use checksums |
8d051dbfdb1ffb2fe3d518aa8adf4631d02b6214e2e2cc26cc4ccf4bb43533a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Security for lcdk 0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.