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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pysparklines-1.0.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for pysparklines-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3263295a2726edf3d5f26c7b172b8efe541ca65481c00d08b708f41e35c19563 |
|
MD5 | adef160f2167e5626476ffb2144db391 |
|
BLAKE2b-256 | 6d53f843e6c34d7511f5eae6594a98948b5355755ab074cbae5da497772e6c6e |