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.15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7dcc7b243a696e645881f54a8c9e18c3d4b36be2b4b75c942b7c7f0b99621774 |
|
MD5 | ccf37fa3453ae90e463a269a2dc423b6 |
|
BLAKE2b-256 | 9a6ba5a1e6ee2e4d329871ab1b82fd82b0796792c538f75728e0fa0a5d006a08 |
Close
Hashes for lolcatfigletgnuplotprint-0.0.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fea8a43b293571dcce1795dc46c1a8677d8afc6860bbd88364cf50b01cece41 |
|
MD5 | ce7d1123d1bdb16e2a7d27541212b30c |
|
BLAKE2b-256 | 5a0b64cee4bcf568cfd15c4d8b054d4ca0310f6c517a46e7ca9611b4fcec7b9e |