An open API service indexing awesome lists of open source software.

https://github.com/acifani/boxing

🥊 Draw boxes in the terminal with Python
https://github.com/acifani/boxing

boxes python text

Last synced: 4 months ago
JSON representation

🥊 Draw boxes in the terminal with Python

Awesome Lists containing this project

README

          

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)``

.. code-block:: python

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

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

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

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