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.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5aef2f9b7c32e98919a5c282ff30f9d496dac8492448f1ac5e501927acff0b5a |
|
MD5 | bfc4977f4012ae6ba6b0c6edf8f2174d |
|
BLAKE2b-256 | e47104780c30fe14fe57fbad947e04f2fb111300d62e6d3cbed217e74c220a92 |
Close
Hashes for lolcatfigletgnuplotprint-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55f40cd846c5305a9fb2c1b995aca7863db8e67cbc0a8f2be85d9948340d16bb |
|
MD5 | 5f06e95bc15a09dbf6872306027cb4cc |
|
BLAKE2b-256 | 3938c7bfa1e31aa57a8aa71004c5967bc57b79a4ac3258d9394b65b77e17fad8 |