Skip to main content

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 bt

bt.success("your string")"your string")
bt.warning("your string")
bt.debug("your string")
bt.custom("your prefix", "your string")

Will result in something like this:

alt text

The [INFO] prefix has a more vibrant yellow color in most terminals.

To test this you can also use bt.demo() to get this output.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bloodyterminal-1.0.tar.gz (1.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page