Skip to main content

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])
    ▇

Release files for sparkprob 0.1

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

Source distribution (sdist)

Source distribution for sparkprob 0.1
File Size Uploaded
sparkprob-0.1.tar.gz 1.7 kB Details

Release files / sparkprob-0.1.tar.gz

Download URL sparkprob-0.1.tar.gz
Size 1.7 kB
Tags Source
SHA-256 checksum
How to use checksums
fe70b88bf506413d60e9592dc5b733f6cc308fe4e5eebffe2bbabb257b0ff0c6
BLAKE2b-256 checksum
How to use checksums
8038ac7fde92d1ff207a631373d462974ee0ae01aca27f3065b664595a004f80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file

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