Skip to main content

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

Example output

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lolcatfigletgnuplotprint-0.0.16.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

lolcatfigletgnuplotprint-0.0.16-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file lolcatfigletgnuplotprint-0.0.16.tar.gz.

File metadata

File hashes

Hashes for lolcatfigletgnuplotprint-0.0.16.tar.gz
Algorithm Hash digest
SHA256 0c7ff270cb1255e55b56133d4bf0a66a825389148701b393de75cc5a3a7cbcc6
MD5 942697b58d8346444d997ae08b6fab0a
BLAKE2b-256 62a716c74f0e56518fc245c65c9a2e27ccec58b0c8f4a549e50e15273d395c18

See more details on using hashes here.

File details

Details for the file lolcatfigletgnuplotprint-0.0.16-py3-none-any.whl.

File metadata

File hashes

Hashes for lolcatfigletgnuplotprint-0.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 497baa7f54db492b3c2cdb5d58aaabde7592904287e68a72824aa152db654fb2
MD5 fdca29ec881c33f2b3c1d118dabd6684
BLAKE2b-256 405536f6953a4ae941f9400c1b219bf112014d063785e97046710de30642b950

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page