super simple context manager to print debug message
Project description
Debug Context Manager
Super simple context manager to wrap a block of code with a debug message.
Usage
from debug_context_manager import debug
with debug("Doing this stuff"):
# some code
with debug("Doing other stuff", "and finished!"):
# other code
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 Distribution
Built Distributions
File details
Details for the file debug_context_manager-0.1.tar.gz
.
File metadata
- Download URL: debug_context_manager-0.1.tar.gz
- Upload date:
- Size: 1.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c2084815d8e6691126fe29d5a5a5d53cdc4dc81cb4cc8f26be9a071d7f8aafc |
|
MD5 | 3fba1e4e7ac6aab04ffec53730095179 |
|
BLAKE2b-256 | 672ba54f2d6a982839ca1911c6bb0ed6de67a4ea6e4ac3246038e01fd0ad7a9d |
File details
Details for the file debug_context_manager-0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: debug_context_manager-0.1-py2.py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e990d56181fbe1fad8578b13b321e461323997570a569b16b81b4cdc43e4f82 |
|
MD5 | 01eac9232e6b01ce0b4283a74c6dc1f3 |
|
BLAKE2b-256 | 720369a85e5a8ff4776180eb4d643112cc940819dfa9ae4102d6fc092e504a80 |
File details
Details for the file debug_context_manager-0.1-py2.7.egg
.
File metadata
- Download URL: debug_context_manager-0.1-py2.7.egg
- Upload date:
- Size: 1.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4804611177fb7c7310f0c9a653414be60bff2f3ec3bac5a3ea1ea22fdfe24e2b |
|
MD5 | f319b061847b5f3942e4d6a2f790dcd6 |
|
BLAKE2b-256 | 3319ef1aa71482cc845447ea9b6eab24412d9ae78fbcc9ec6fdedfe500c321a9 |