zeionara / appall

Tool for horizontally juxtaposing text in terminal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Appall 😱

abridged pretty printing app for long line logging a.k.a one app to log'em all

This tiny utility allows you to horizontally juxtapose some text in terminal

Usage

The tool can be used the following way (see examples folder):

from appall import AppallingLogger

logger = AppallingLogger()

logger.log("foo")
logger.log("qux")
logger.loop()

logger.log("bar")
logger.log("quux")

logger.log("baz")
logger.log("quuz")

logger.print(column_width = 10)

This example produces the following output:

foo       bar       baz       
qux       quux      quuz      

Installation

Install the program using this command:

pip install appall

Or clone the repo and add path to the appall folder at the end of your PYTHONPATH. In this case environment.yml file will be useful for creating an environment. This can be done using the following command:

conda env create -f environment.yml

Testing

Test the tool using following command:

python -m unittest discover test

About

Tool for horizontally juxtaposing text in terminal

License:Apache License 2.0


Languages

Language:Python 100.0%