A simple commandline output utility package for printing simple messages and linear xy-plot data with colours and style.
Project description
Lolcatfigletgnuplotprint
A simple commandline output utility package for printing simple messages and linear xy-plot data with colours and style
Requirements
Relies on lolcat, figlet and gnuplot.
Install
python -m pip install lolcatfigletgnuplotprint
Usage
As a library function:
from lolcatfigletgnuplotprint import print_example
print_example()
from lolcatfigletgnuplotprint import lolcat_figlet_print
lolcat_figlet_print(
message="Content",
heading_text="Example heading",
description_text="A description",
)
from lolcatfigletgnuplotprint import plot_print
plot_print(
value_groups=[
{
"title": "Data 1",
"values": [
{"value": 1, "timestamp": 1655305933},
{"value": 5, "timestamp": 1655305938},
{"value": 2, "timestamp": 1655305943},
],
},
{
"title": "Data 2",
"values": [
{"value": 7, "timestamp": 1655305933},
{"value": 3, "timestamp": 1655305938},
{"value": 5, "timestamp": 1655305943},
],
},
],
)
As commandline util:
python -m lolcatfigletgnuplotprint --help
As ran with pre-built docker image:
docker run -it --rm lsipii/lolcatfigletgnuplotprint --help
Example output
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
Built Distribution
Close
Hashes for lolcatfigletgnuplotprint-0.0.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e5b70391ef5f6fcfa8b5bcbe29172b2ad443f55e2deaf91f7400e24abd4f315 |
|
MD5 | 65e92ced2477e90773d5afe37d81c412 |
|
BLAKE2b-256 | e403e1432d972464c05393b26877a2527dd3701f5d9e9cad0c35b5f9892b957c |
Close
Hashes for lolcatfigletgnuplotprint-0.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b60078007be5c48656fe24c5adf1fb098f2e8bbc5ee5fcba8b12ab5b9fd57457 |
|
MD5 | 7b5beae528fab4f7fb4c32812c9e5fb8 |
|
BLAKE2b-256 | fd7b489f7e02224eb7b0cdfbfe9d9a50baf702aeca14d4a370cb78b4eadb079f |