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.14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 079867a3275014ba126b19af8d80ba9016715618da8d75678901d4573aba7cd9 |
|
MD5 | 607f504a50c2634bfd126aa835c2e6d1 |
|
BLAKE2b-256 | f194e820dde17676a5115b9e465b042aed51139f90399b4582c26e0d48aeb577 |
Close
Hashes for lolcatfigletgnuplotprint-0.0.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a21eb237983ae562ca0e09d96e971dcf3e5253a006fe11205b2d0251fc93692 |
|
MD5 | 3cf89f206b43ea76da28e520d36bfbbb |
|
BLAKE2b-256 | c2ecbca3d20f3e3baf2d13847ff948797e4a6ce79847e78933723ee306851021 |