Skip to main content

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
▁▁▂▂▃▅█
  • $ seq 20 | sort -R | sparkline -r2
▃▁ █▂    ▂▆▅  ▄▇▆   
██▃██▅▇▄▁███▃▇███▂█▆
  • $ python3 -c "import sparkline; print(sparkline.sparkify([1.0, 2.0, 3.0, 4.0]))"
▁▃▆█
  • $ python3 -c "import math, sparkline; print(sparkline.sparkify([math.cos(n/10.0) for n in range(-50, 50, 2)], rows=4))"
                    ▁▃▅▇███▇▅▃▁                   
▅▂                ▃▆███████████▆▃                ▂
██▇▄▁          ▂▅█████████████████▅▂          ▁▄▇█
█████▆▄▃▁▁▁▂▃▅▇█████████████████████▇▅▃▂▁▁▁▃▄▆████

Metadata

Release files for pysparklines 1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pysparklines 1.5
File Size Uploaded Provenance
pysparklines-1.5.tar.gz 6.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pysparklines 1.5
File Interpreter ABI Platform
pysparklines-1.5-py3-none-any.whl Python 3 none any Details

Total release size: 12.0 kB

Release files / pysparklines-1.5.tar.gz

Download URL pysparklines-1.5.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a3aef1703e219ca35915095c90d4774498a4a636ed1a3a11ac1646cce2dd1e88
BLAKE2b-256 checksum
How to use checksums
bfd0ce4e669498e4e3901809940e70e3975c1f48103eca22728ee4eb14b99daf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / pysparklines-1.5-py3-none-any.whl

Download URL pysparklines-1.5-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
97cda7b0fc5d48975e5e82dce7dfcf41063b8656f8eb2d8152a296df40d369ce
BLAKE2b-256 checksum
How to use checksums
2e874aa1012683cc11b613660cbf03d2a1a6d0f088d1be96730c4e5b4d8260a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Security for pysparklines 1.5

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page