py-sparkblocksUtil for generating Unicode text based sparkline bargraph from lists of numbers | |
Download |
py-sparkblocks Ranking & Summary
Advertisement
- License:
- BSD License
- Price:
- FREE
- Publisher Name:
- Wes Mason
- Publisher web site:
- http://1stvamp.org
py-sparkblocks Tags
py-sparkblocks Description
sparkblocks is a Python library that provides a single function, spark() which takes a list of numbers (ints or floats) and outputs a string containing a unicode character (9601-9608) sparklines bargraph representation of the numbers.It is based on the spark tool by Zach Holman, and the original Twitter sparkline generator by Alex Kerin.InstallationThe library can be installed from PyPi using pip:pip install py-sparkblocksOr cloned from Github using git:git clone git://github.com/1stvamp/py-sparkblocks.gitcd py-sparkblockspython setup.py installUsage >>> from sparkblocks import spark >>> print(spark()) ▂▅▁▇▅Product's homepage
py-sparkblocks Related Software