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.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfbbba2c271fda245a64e11bc85315d5721251aec4d26c666f4d22c3155c750a |
|
MD5 | ba4206f129d927a25a307a087aed171a |
|
BLAKE2b-256 | f9e3cfc36152dc4eab494357f7b7dc62b7ccfcb3a05dfa87c50f7b4c28e06c77 |
Close
Hashes for lolcatfigletgnuplotprint-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b82fae90f81a4ee785cbf007ac9431757723d454b5f025ddf0d9de74ef6ac405 |
|
MD5 | 19354225c0a60cd0fd5fdb6a71e510e8 |
|
BLAKE2b-256 | fd9036de2933a13cc50d61c56c3ebf1d9b62eff1abd3fcc022b9b84f026717ab |