debug_context_manager-0.1
توضیحات
super simple context manager to print debug message
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | debug_context_manager-0.1 |
| نام | debug_context_manager |
| نسخه کتابخانه | 0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Laurent Peuch |
| ایمیل نویسنده | cortex@worlddomination.be |
| آدرس صفحه اصلی | https://github.com/Psycojoker/debug_context_manager |
| آدرس اینترنتی | https://pypi.org/project/debug_context_manager/ |
| مجوز | MIT |
Debug Context Manager
=====================
Super simple context manager to wrap a block of code with a debug
message.
Usage
=====
.. code:: python
from debug_context_manager import debug
with debug("Doing this stuff"):
# some code
with debug("Doing other stuff", "and finished!"):
# other code
نحوه نصب
نصب پکیج whl debug_context_manager-0.1:
pip install debug_context_manager-0.1.whl
نصب پکیج tar.gz debug_context_manager-0.1:
pip install debug_context_manager-0.1.tar.gz