Skip to content

acifani/boxing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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      β•‘
    β•‘                  β•‘
    β•‘                  β•‘
    β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

About

πŸ₯Š Draw boxes in the terminal with Python

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages