Skip to main content

Botfly

An enhanced debugger that uses prompt-toolkit.

Since prompt-toolkit is a cross-platform readline 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.

from botfly import debugger

debugger.autodebug()

...

Then if an exception happens that isn't handled you will see the debugger.

Metadata

Release files for botfly 0.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for botfly 0.8.0
File Size Uploaded
botfly-0.8.0.tar.gz 33.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for botfly 0.8.0
File Interpreter ABI Platform
botfly-0.8.0-py3-none-any.whl Python 3 none any Details

Total release size: 114.4 kB

Release files / botfly-0.8.0.tar.gz

Download URL botfly-0.8.0.tar.gz
Size 33.8 kB
Tags Source
SHA-256 checksum
How to use checksums
60f316a9c5ddad84ca49bcc0f1c0eb2dc294d41552ae44e8db29589f5411e1b4
BLAKE2b-256 checksum
How to use checksums
746378079ff50efcaeaac9cb8f177ad6a9cb5d9a81bd7b5ff4d7c45c9aba6955
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.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.5

Release files / botfly-0.8.0-py3-none-any.whl

Download URL botfly-0.8.0-py3-none-any.whl
Size 80.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fce93dfd20bd016fd40fa335906f51b69dbd59ddd802cb50f52d9638553065dd
BLAKE2b-256 checksum
How to use checksums
dc2ca45ce798472c6ce5bd8cdc9aa823fd7de0bafd1bb218e4ff39a0f373e7f6
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.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.5

Release history Release notifications | RSS feed

This release

0.8.0 This release

2 release files

0.7.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page