Skip to main content

pysparklines is a unicode sparkline generation library.

Project description

pysparkline

Python 3 clone of Zach Holman's BASH sparkline project

Takes series data via stdin, command line, or API and prints a sparkline representation.

Usage:

  • $ sparkline 4 3 2 1 █▆▃▁
  • $ echo "1.0 1.0 2.0 3.0 5.0 8.0 13.0" | sparkline ▁▁▂▂▃▅█
  • $ python3 -c "import sparkline; print(sparkline.sparkify([1.0, 2.0, 3.0, 4.0]))" ▁▃▆█

Project details


Download files

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

Files for pysparklines, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size pysparklines-1.0-py3-none-any.whl (4.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pysparklines-1.0.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page