Skip to main content

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

This version

0.1

Download files

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

Source Distribution

debug_context_manager-0.1.tar.gz (1.3 kB view details)

Uploaded Source

Built Distributions

debug_context_manager-0.1-py2.py3-none-any.whl (2.6 kB view details)

Uploaded Python 2 Python 3

debug_context_manager-0.1-py2.7.egg (1.4 kB view details)

Uploaded Source

File details

Details for the file debug_context_manager-0.1.tar.gz.

File metadata

File hashes

Hashes for debug_context_manager-0.1.tar.gz
Algorithm Hash digest
SHA256 4c2084815d8e6691126fe29d5a5a5d53cdc4dc81cb4cc8f26be9a071d7f8aafc
MD5 3fba1e4e7ac6aab04ffec53730095179
BLAKE2b-256 672ba54f2d6a982839ca1911c6bb0ed6de67a4ea6e4ac3246038e01fd0ad7a9d

See more details on using hashes here.

File details

Details for the file debug_context_manager-0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for debug_context_manager-0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4e990d56181fbe1fad8578b13b321e461323997570a569b16b81b4cdc43e4f82
MD5 01eac9232e6b01ce0b4283a74c6dc1f3
BLAKE2b-256 720369a85e5a8ff4776180eb4d643112cc940819dfa9ae4102d6fc092e504a80

See more details on using hashes here.

File details

Details for the file debug_context_manager-0.1-py2.7.egg.

File metadata

File hashes

Hashes for debug_context_manager-0.1-py2.7.egg
Algorithm Hash digest
SHA256 4804611177fb7c7310f0c9a653414be60bff2f3ec3bac5a3ea1ea22fdfe24e2b
MD5 f319b061847b5f3942e4d6a2f790dcd6
BLAKE2b-256 3319ef1aa71482cc845447ea9b6eab24412d9ae78fbcc9ec6fdedfe500c321a9

See more details on using hashes here.

Supported by

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