Python error reporter that generates detailed HTML crash reports.
Project description
🛡️Crashprobe - makes errors simple, understandable, and beautiful, and generates HTML reports about them.
Example:
A library that intercepts errors and creates beautiful, detailed HTML reports.
📦Installation
pip install crashprobe
🚀Quick Start
import crashprobe
crashprobe.start()
print(1/0) # ZeroDivisionError - watch the magic!
✨Crashprobe Features
- No dependencies
- Beautiful, easy-to-read dark theme in reports
- System information
- Very easy to use
- Copy report button
- Useful links with error information
📃Usage
Library import:
import crashprobe
Start the error catcher. If the program crashes with an error, the library will intercept it, generate an HTML report, automatically open it, and save it in the crash_file folder:
crashprobe.start()
The generated page is saved in the automatically created crash_file folder as a file named crash_Y-M-D_H-M-S. The page includes a beautiful dark theme, emoji, as well as the error title, error text, exact date and time, path to the file containing the error, the line containing the error and its closest links, values and types of local variables, system information and Python version, links to Google and the Python documentation for information about the error, and a copy report button.
Usage example:
import crashprobe
crashprobe.start()
def example(x, y):
one = x
two = y
return x / y
print(example(1, "Hello"))
❔Why is it convenient?
To get started, you only need to write two lines of code, and in the event of an error, you get a beautiful HTML report instead of a console message.
Without crashprobe:
With crashprobe:
👦🏻 About the developer
My name is Andrey Egupov, I'm 11 years old. I've been programming for several years. I started in Scratch, now I write in Python, JavaScript, and I'm working with Arduino. I got tired of seeing red error messages and having to print variable values, so I decided to create a truly useful tool that would help me and others!
📄 License
MIT © 2026 Andrey Egupov (11-year-old-developer)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file crashprobe-0.1.0.tar.gz.
File metadata
- Download URL: crashprobe-0.1.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2f583a4086e1820589d174b6ed01db38496bd3c9144bdba7f44143089b8ba56
|
|
| MD5 |
0523330f9a286be7a1d9459f59d0ed09
|
|
| BLAKE2b-256 |
6bb6c1abd08356b9c992589e66f2cc59ae7ffb9d0722c1c5db6d4cefc49a225f
|
File details
Details for the file crashprobe-0.1.0-py3-none-any.whl.
File metadata
- Download URL: crashprobe-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a31c6a18a54425a0796a38e0d8ea40b2ec7f9c9bc9f1b2925ed3968ef598239
|
|
| MD5 |
d65572eb2d8237565d27363937c0b5bc
|
|
| BLAKE2b-256 |
124f23789e4ae937c88b3e9e72e102d6e380b381bf42872bd96e2514eafb7a88
|