botfly-0.8.0
توضیحات
Alternative Python debugger using prompt-toolkit.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | botfly-0.8.0 |
| نام | botfly |
| نسخه کتابخانه | 0.8.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Keith Dart |
| ایمیل نویسنده | keith@dartworks.biz |
| آدرس صفحه اصلی | https://github.com/kdart/botfly |
| آدرس اینترنتی | https://pypi.org/project/botfly/ |
| مجوز | Apache 2.0 |
# Botfly
An enhanced debugger that uses [prompt-toolkit](https://python-prompt-toolkit.readthedocs.io/en/master/).
Since *prompt-toolkit* is a cross-platform [readline](https://docs.python.org/3/library/readline.html)
replacement it should work on all platforms.
You can also import the `botfly.debugger` module in your code and call the
`post_mortem` function, as with *pdb*.
Some notable features:
* Colorized UI - stacktrace, prompt, etc.
* More informative reports, prompt shows current position in stack.
* Invoke your editor at current point.
* REPL-like evaluator
* Enter sub-REPL if desired.
* Display opcodes.
* Switch to different stack in context or cause exceptions.
* Debug co-routines.
## Automatic Debugging
Don't like those annoying uncaught exceptions? Just put the following in your code (during development) to automatically enter the debugger in the event of an uncaught exception.
```python
from botfly import debugger
debugger.autodebug()
...
```
Then if an exception happens that isn't handled you will see the debugger.
نیازمندی
| مقدار | نام |
|---|---|
| - | prompt-toolkit |
نحوه نصب
نصب پکیج whl botfly-0.8.0:
pip install botfly-0.8.0.whl
نصب پکیج tar.gz botfly-0.8.0:
pip install botfly-0.8.0.tar.gz