Skip to main content

pysparklines is a unicode sparkline generation library.

Project description


Python 3 clone of Zach Holman's BASH sparkline project

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


  • $ 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

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page