py-sparkblocks
About sparkblocks
sparkblocks is a Python module 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.
Installation
The library can be installed from PyPi using pip:
pip install py-sparkblocks
Or cloned from Github using git:
git clone git://github.com/1stvamp/py-sparkblocks.git cd py-sparkblocks python setup.py install
Usage
>>> from sparkblocks import spark >>> print(spark([1, 2, 0.2, 3.1, 2])) ▂▅▁▇▅
Metadata
Release files for py-sparkblocks 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| py-sparkblocks-1.0.1.tar.gz | 2.7 kB | Without provenance | Details for py-sparkblocks-1.0.1.tar.gz |
Release files / py-sparkblocks-1.0.1.tar.gz
| Download URL | py-sparkblocks-1.0.1.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d39af9ba7f21c7a652066660a8a331979dc2ea29f01534c13b608b977e99e4bf
|
|
BLAKE2b-256 checksum How to use checksums |
28f0fe100be28a6a7b728cdc3fa74f6f2a69c6d02cdabf63030e4000c8ab7ed1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for py-sparkblocks 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.