box_drawing

UTF-8 box drawing constants library for terminal UI elements.

cargomacoslinuxwindows
Try with needOr install directly
Source

About

A very simple library containing constants for UTF-8 box drawing.

Examples

draw boxes and borders in terminal applications$ import box_drawing; print(box_drawing.BOX_SINGLE_ROUNDED)
create table borders with box drawing characters$ from box_drawing import *; print(TOP_LEFT + HORIZONTAL * 5 + TOP_RIGHT)
build ASCII art frames for terminal output$ import box_drawing as bd; print(bd.VERTICAL + ' content ' + bd.VERTICAL)
combine line drawing characters for terminal UI$ from box_drawing import BOX_DOUBLE_ROUNDED; print(BOX_DOUBLE_ROUNDED.top_left)