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.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 820de48ef8eeaf671215439e3d39e104e8f2dbaba2a9af77aa95ff52cb2e1e59 |
|
MD5 | c0b09fd1593e332f7eed219abba0b609 |
|
BLAKE2b-256 | 9afc6fb7b5f10e218f84d6c34dca5df9a2074b8cb2a045245a6df005529b307d |
Close
Hashes for lolcatfigletgnuplotprint-0.0.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4815126457319c8d48c9729b909059aa17dbb9f5565e37221662efa5a8d760c5 |
|
MD5 | 6ab8af648a287e4c1675a0d5e0c6c65f |
|
BLAKE2b-256 | 7d51a0737fea2e36ef5bfc604ea805a848569554140fc5b2fcbc05e32efb1493 |