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
File details
Details for the file lolcatfigletgnuplotprint-0.0.16.tar.gz
.
File metadata
- Download URL: lolcatfigletgnuplotprint-0.0.16.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c7ff270cb1255e55b56133d4bf0a66a825389148701b393de75cc5a3a7cbcc6 |
|
MD5 | 942697b58d8346444d997ae08b6fab0a |
|
BLAKE2b-256 | 62a716c74f0e56518fc245c65c9a2e27ccec58b0c8f4a549e50e15273d395c18 |
File details
Details for the file lolcatfigletgnuplotprint-0.0.16-py3-none-any.whl
.
File metadata
- Download URL: lolcatfigletgnuplotprint-0.0.16-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 497baa7f54db492b3c2cdb5d58aaabde7592904287e68a72824aa152db654fb2 |
|
MD5 | fdca29ec881c33f2b3c1d118dabd6684 |
|
BLAKE2b-256 | 405536f6953a4ae941f9400c1b219bf112014d063785e97046710de30642b950 |