A little helper to structure your terminal output
Project description
A simple piece of code to help structure your console outputs. BT makes use of colorama to provide a few options to create a consistent console output “theme”.
from bloodyterminal import btext
btext.success("your string")
btext.info("your string")
btext.warning("your string")
btext.error("your string")
btext.debug("your string")
btext.custom("your prefix", "your string")
Will result in something like this:
To test this you can also use btext.demo() to get these outputs.
NOTE: There seems to be a problem with the pycharm debugger not displaying the colors. You’d have to use the terminal.
NOTE: I did not create the coloring functionality! Credit for that goes to colorama
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
bloodyterminal-4.0.tar.gz
(1.9 kB
view details)
File details
Details for the file bloodyterminal-4.0.tar.gz
.
File metadata
- Download URL: bloodyterminal-4.0.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 591fdd2b4639c25199b89913dabf5f46b032d33144f59a6bd41e1610b3d7bd87 |
|
MD5 | 57b25363d0d184bbdd11cdf9715666cf |
|
BLAKE2b-256 | 14d19cbc37ba8e6edbe1e9004f94a7301b4a70694d2b90e045be2cd836fd4362 |