Skip to main content

Live data visualisation via Matplotlib

Project description

Polt

Live data visualisation via Matplotlib

pipeline status coverage report documentation PyPI

polt is a Python package for live data visualisation via Matplotlib.

What can polt do?

Reading Numbers from STDIN

for i in `seq 1 100`;do echo $i;sleep $i;done | python3 -m polt

polt-seq-stdin

Reading CSV from STDIN

echo "a,b,c\n1,2,3\n3,4,5\n7,5,8\n" | while read line;do echo $line;sleep 1;done | python3 -m polt --source CsvParser:-

polt-csv-stdin

Further Possibilities

It is possible to split the data into subplots for

  • quantity
  • unit
  • parser

See the help page python3 -m polt -h for further configuration options.

Configuration Files

polt can use configuration files (by default ~/.config/polt/polt.conf and .polt.conf in the current directory) to simplify invocation. It is also possible to save the current configuration with the --save-config option.

Custom Data Parsers

It is easy to add custom data parsers. See the help page python3 -m polt -h for more details.

Why on Earth is it called polt and not plot!?

I am a big fan of swapping syllables or characters around resulting in ridiculously-sounding words. polt is one of those words which I am generating quite frequently when typing quickly.

Installation

The polt package is best installed via pip. Run from anywhere:

python3 -m pip install --user polt

This downloads and installs the package from the Python Package Index.

You may also install polt from the repository root:

python3 -m pip install --user .

Translations

Currently, the following languages are available:

  • English
  • German

If you are interested in adding another language, just open a New Issue and we will get your going.

Documentation

Documentation of the polt package can be found here on GitLab.

Also, the command-line help page python3 -m polt -h is your friend.

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

polt-0.2.0.tar.gz (33.6 kB view hashes)

Uploaded Source

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