PYTHON UTILITIES · OPEN SOURCE

Errors happen.
Track them.

HyperLog is a Python utility library built to make error logging clearer and debugging less painful. Focus on building. Keep useful context when things break.

Latest published version · hyperlog-tools 0.1.1
example.pyPython
# Capture useful error context
from hyperlog import log_exception

try:
    result = 10 / 0
except Exception as error:
    error_id = log_exception(
        error,
        context={"module": "worker"}
    )
    print(error_id)

# Keep debugging details accessible.
hyperlog / quick example● READY
Built for developers

Less noise. More context.

Small, practical utilities for everyday Python projects, with a focus on making failures easier to investigate.

01

Structured error logging

Capture exceptions with traceback details and a unique error identifier for easier follow-up.

02

Useful context

Attach lightweight metadata to an error so you can understand what your application was doing.

03

Simple integration

Install from PyPI and import the utilities directly into your existing Python codebase.

Start in seconds

Install HyperLog

Requires Python 3.10 or newer, according to the package metadata.

python -m pip install hyperlog-tools

Distribution name: hyperlog-tools · Import name: hyperlog

Quick reference

Start with the essentials.

Use the library's currently available functions. Check the repository README for the latest implementation details.

log_exception(error, context=None)

Record exception details and optional context. Returns an error identifier that can be used when investigating a failure.

get_log_file()

Get the configured path to the log file used by the library.

reset_logger()

Close the library's current logging handlers when reinitialization is needed.

Read the full guide

Browse source code, usage examples, known issues, and current development status on GitHub. Open repository ↗

Security note: never intentionally pass passwords, bot tokens, API keys, or other secrets into logs. Redaction is not a guarantee that every secret will be detected.

Release channel

Published on PyPI.

Get the package from the official Python Package Index and follow development on GitHub.

v0.1.1
HyperLog ToolsLatest version currently published in this site template
PyPI page ↗

Release details are currently static. Update this section when you publish a new version.

Command copied