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.1.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for pysparklines-1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fd5bfcabb95567420b908bd2a02c9b7db056cd6e1627a352070cf22cb34e632 |
|
MD5 | 530e852f3db26aeb9cd61472b15b975f |
|
BLAKE2b-256 | 39f3e70abcfec49b04515fd8581f1bdf44a0a5abab6e35df2f4991b4938c768c |