Project for horizontally juxtapozing text in terminal
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file appall-0.1.0.tar.gz
.
File metadata
- Download URL: appall-0.1.0.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22457a91515aa316eddb8b4c38b51aa3b31f64f3f6a24079ad2c4fa7b0d8a144 |
|
MD5 | ca0293a0b46b00eeb22f3f96fd84dbbe |
|
BLAKE2b-256 | 7243429129ffd30b3609c8a5e5d02b8cedb1b300f176938ddbc666659b008984 |