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.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | daa8c035430a0a726032043a4a93acefddd531d71b545331401c2fdb87b0e75a |
|
MD5 | 9fbe092f39273c7e14b1da6877c4c15b |
|
BLAKE2b-256 | 6fdf31b106976c5fd3dadbc2902ffb0ab36c455a37cc63835c9ff1935fe8f3ef |
Close
Hashes for lolcatfigletgnuplotprint-0.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0e329008b373976b5d060e275e7ede25af068c6d972349de20ce38629413ed4 |
|
MD5 | 719c42cf660fd7659589b0dfb641289c |
|
BLAKE2b-256 | 6eeac19d6672b025029590d1312d673d06352c5177fb3de0000f70e277af60ab |