Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 958 Bytes

README.rst

File metadata and controls

39 lines (27 loc) · 958 Bytes

boxing

Draw boxes like never before! Python porting of boxen.

Install

pip install boxing

or

pipenv install boxing

Usage

boxing(text, style='single', margin=1, padding=1)

>>> from boxing import boxing
>>> boxing("Hello, world!")

    ┌───────────────────┐
    │                   │
    │   Hello, world!   │
    │                   │
    └───────────────────┘

>>> boxing("boxing", style="double", padding=2, margin=1)

    ╔══════════════════╗
    ║                  ║
    ║                  ║
    ║      boxing      ║
    ║                  ║
    ║                  ║
    ╚══════════════════╝