Skip to main content

Sparklines for probability distributions

Project description

This package helps you to print out probability distribution on the commandline.

Getting Started

pip install sparkprob

Then in python:

>>> from sparkprob import sparkprob
>>> print sparkprob([0.2, 0.1, 0.4, 0.15, 0.15])
▁ ▁ ▂ ▁ ▁
>>> print sparkprob([0.05, 0.2, 0.55, 0.1, 0.1])
  ▁ ▃ ▁ ▁
>>> print sparkprob([0.05, 0.2, 0.7, 0.0, 0.0])
  ▁ ▅
>>> print sparkprob([0.05, 0.0, 0.95, 0.0, 0.0])
    ▇

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sparkprob-0.1.tar.gz (1.7 kB view details)

Uploaded Source

File details

Details for the file sparkprob-0.1.tar.gz.

File metadata

  • Download URL: sparkprob-0.1.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sparkprob-0.1.tar.gz
Algorithm Hash digest
SHA256 fe70b88bf506413d60e9592dc5b733f6cc308fe4e5eebffe2bbabb257b0ff0c6
MD5 73800938fe2835e7fdc52e38acf6b113
BLAKE2b-256 8038ac7fde92d1ff207a631373d462974ee0ae01aca27f3065b664595a004f80

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page