framify 🖼️
Dead simple terminal framing, tables and underlining – with proper wide‑character support.
Why?
Building CLI tools often means manually aligning borders and tables, counting spaces for CJK characters or emoji. framify does the boring geometry for you, so you can focus on content.
Install
pip install framify
Quick examples
- Box
from framify import frame
print(frame("Hello\nWorld"))
┌───────┐
│ Hello │
│ World │
└───────┘
- Box with title and padding
print(frame("Success!", style="double", padding=2, title=" STATUS "))
- Table
from framify import table
data = [
["Alice", "32", "Engineer"],
["Bob", "28", "Designer"],
]
print(table(data, headers=["Name", "Age", "Job"], style="rounded"))
- Underline
from framify import underline
print(underline("Important"))
Style gallery
· single (default) · double · ascii · rounded · heavy
All handle CJK and emoji widths correctly thanks to wcwidth.
API
frame(text, *, style='single', padding=1, title=None, align='left')
Wrap multi‑line text in a box.
table(data, *, headers=None, style='single', col_align=None)
Format a list of lists as a table.
underline(text, char='─')
Return underlined text.
overline(text, char='─')
Return overlined text.
strikethrough(text, char='─')
Visual strikethrough (line below text).
License
MIT © itz_rival
Metadata
Release files for framify 0.1.0
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 |
|---|---|---|---|---|
| framify-0.1.0.tar.gz | 5.9 kB | Without provenance | Details for framify-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| framify-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for framify-0.1.0-py3-none-any.whl |
Total release size: 12.9 kB
Release files / framify-0.1.0.tar.gz
| Download URL | framify-0.1.0.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
25c0a88b46f2792518cb38d35e31d8c96d2d5cde5bc0509789133ee470a4e2c1
|
|
BLAKE2b-256 checksum How to use checksums |
f6f8224851744ae48251f83eaae53d44de8effc927f778480c47c7e80920c706
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Release files / framify-0.1.0-py3-none-any.whl
| Download URL | framify-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cbc9f639b59d60db2dee7e29cfe0f4c3c202cd270d89cab18043901dd67549a1
|
|
BLAKE2b-256 checksum How to use checksums |
6736f089cdd1da8760fdd63098bce70e91b5019af7c397b4d2d58417c47c84b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Security for framify 0.1.0
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.