Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

pysparklines is a unicode sparkline generation library.

Project description

Python clone of https://github.com/holman/spark

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

Output is always UTF-8 encoded.

Usage:

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

Project details


Release history Release notifications

This version
History Node

0.9

History Node

0.8

History Node

0.7

History Node

0.6

History Node

0.5

History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pysparklines-0.9.tar.gz (3.9 kB) Copy SHA256 hash SHA256 Source None Aug 22, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page