
gittech. site
for different kinds of informations and explorations.
I made a boxen library for Python (inspired by sindresorhus)
Published at
Jan 23, 2025
Main Article
Boxen
A simple, fast, dependencyless and intuitive library for creating boxes in console π
Installation
uv pip install boxen-python
Usage
from boxen import boxen
print(
boxen(
"Hello, World!",
options={
"padding": 3,
"borderStyle": "double",
"borderColor": "red",
"dimBorder": False,
"textAlignment": "center",
"float": "center",
},
)
)
# These are only few options, there are many more options available
Preview (A single image for now, there are several options for customization)
![]() |