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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e21d6095ef0a3faae1aeb1becc90c9db3c7d956b6c60ce0e74821c19b5c5714d |
|
MD5 | bf7725a9c4fe6fd02a9c0f34b44c6ea5 |
|
BLAKE2b-256 | 19577e75279bf73aca32e47426cd4f3c618adcf561b89232813dfe772b5a82c2 |
Close
Hashes for lolcatfigletgnuplotprint-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55480e1c6822c08fdf415b9d818a12f080e960b461d03223e0ef435ed8ef277b |
|
MD5 | a179e25bc4e203621d2c9cca7ad9cd42 |
|
BLAKE2b-256 | 8c5aa21629c0a098ebfe1d100537386dbecdbc6de0202561b0b750d83cf90c4c |