Registry / serialization / pyboxen

pyboxen

JSON →
library1.3.0pypypi✓ verified 86d ago

Beautiful, customizable boxes in your terminal using Python. Current version 1.3.0 requires Python >=3.8. Actively maintained.

pip install pyboxen
INSTALL
IMPORT
SIG · PYBOXEN
P
pyboxen
serializationpythonv1.3.0
Install
2.6s avg
Import
100ms
Disk
29MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.3.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.106s · 30MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 2.6s · import 0.094s · 31MB
29MB installed
● package 29MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

boxen
from pyboxen import boxen

Basic usage: prints a box with title and subtitle.

from pyboxen import boxen print(boxen("Hello, World!", title="Greeting", subtitle="Python", color="cyan"))
Debug
Known issues
gotchaRequires rich>=12.5.1, but older versions of rich (<13) may conflict with other packages. If you have rich v13+ installed, ensure compatibility.
fix
Upgrade to pyboxen >=1.2.0, which allows rich>=12.5.1 (including v13).
affects: <=1.1.2
breakingDropped support for Python <3.8 in v1.1.1. Code will break on Python 3.6 or 3.7.
fix
Use Python 3.8+ or pin pyboxen<1.1.1 if stuck on older Python.
affects: >=1.1.1
deprecatedArguments 'box' and 'style' were changed in v1.0. Some older examples may use incorrect parameter names.
fix
Refer to current docs for correct parameter list: title, subtitle, color, etc.
affects: >=1.0.0
Errors
Common errors & fixes
ImportError: cannot import name 'boxen' from 'pyboxen'
Typo or incorrect import path (e.g., 'from pyboxen import box' instead of 'boxen').
fix
Use: from pyboxen import boxen
TypeError: boxen() got an unexpected keyword argument 'style'
Old API used 'style' parameter but was removed/changed.
fix
Check current API: use 'color' and other valid parameters. See documentation.
ModuleNotFoundError: No module named 'rich'
Missing dependency 'rich'.
fix
Install rich: pip install rich>=12.5.1
Upgrade
Version history
1.3.0latest on PyPI · released Feb 5, 2024
Audit
Dependencies
richrequiredRequired for rendering boxes, minimum version 12.5.1.
Agent activity
9 hits · last 30 days
node
8
Resources
pyboxen — pip install pyboxen · libregistry