Bionify is a lightning-fast, C++ powered terminal formatter that applies Bionic Reading algorithms to your Python tracebacks and logs.
By strategically bolding the first half of words, Bionify guides your eyes through massive walls of terminal text, allowing you to parse crash logs, errors, and system outputs in a fraction of the time.
Features
- Zero-Config Hooks: Import it once, and Fovea automatically intercepts and styles your unhandled exceptions and
stderroutputs. - Native Logging Integration: Includes a custom formatter for Python's standard
logginglibrary. - Hyperlink Protection: Smart enough to leave URLs (
https://) and file paths (C:\) unformatted so they remain clickable in modern terminals like VS Code. - Blazing Fast Backend: The text parsing engine is written entirely in C++ using
nanobind, ensuring zero latency even on massive stack traces. - Custom Aesthetics: Easily configure intensity, bolding, and ANSI colors to match your terminal theme.
Installation
Currently available for Windows (64-bit).
pip install bionify
Quick Start
The easiest way to use Fovea is to simply import it at the top of your entry-point file. It will automatically hook into sys.excepthook and sys.stderr.
import bionify
# Bionify is now active! Any unhandled exceptions will be styled.
raise RuntimeError("This traceback will be styled for rapid reading!")
Advanced Usage
Customizing the Aesthetic
Fovea defaults to Bold Cyan with a 50% reading intensity. You can easily adjust this to match your terminal theme:
import bionify
# Change the fixation intensity (0.1 to 1.0)
bionify.set_prescription(0.6)
# Change the color (cyan, magenta, yellow, red, green, blue, white)
bionify.set_style(bold=True, color="magenta")
# Power user? Pass your own raw ANSI escape sequences
bionify.set_color_ansi(prefix="\033[1;95m", suffix="\033[0m")
Using with the logging Library
If you want to apply Bionify to your standard Python logs, use the provided BionicFormatter:
import logging
from bionify.hook import BionicFormatter
logger = logging.getLogger("MyBackend")
handler = logging.StreamHandler()
# Attach the Fovea formatter
handler.setFormatter(BionicFormatter("%(levelname)s: %(message)s"))
logger.addHandler(handler)
logger.setLevel(logging.INFO)
logger.info("Database connection established successfully.")
Contributing
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
License
This project is licensed under the MIT License © 2026 Pranay.
Metadata
Release files for bionify 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bionify-0.1.3.tar.gz | 104.5 kB | Without provenance | Details for bionify-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bionify-0.1.3-cp313-cp313-win_amd64.whl | CPython 3.13 | CPython 3.13 | Windows x86-64 | Details for bionify-0.1.3-cp313-cp313-win_amd64.whl |
Total release size: 148.5 kB
Release files / bionify-0.1.3.tar.gz
| Download URL | bionify-0.1.3.tar.gz |
|---|---|
| Size | 104.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6491e41323f5b82d199ebdb1708b97bc793bd0eb7cbcadebe85dcd4621ac10f3
|
|
BLAKE2b-256 checksum How to use checksums |
278ceef68408567deea13a0dcd794817eee6456ab09990204d8de163c4be6343
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|
Release files / bionify-0.1.3-cp313-cp313-win_amd64.whl
| Download URL | bionify-0.1.3-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 44.0 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
3d7d3872639f11055df5df3959204e6443ad4013d1d75f08ddc1eb5d8da51d67
|
|
BLAKE2b-256 checksum How to use checksums |
c4a784532b99f1cbb5b1c36eb464133c88d83605d1e85e5fc98f8f184631af44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|
Security for bionify 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.