Skip to main content

odds-helpers

Functions

Function Parameters Aliases Description
moneyline_to_prob ml, places=2 to_p, to_prob, ml_to_p, ml_to_prob Converts a moneyline to implied probability
prob_to_moneyline prob to_ml, p_to_ml, prob_to_ml Converts a probability to moneyline format
remove_vig prob1, prob2 no_vig Removes the vig from two probabilities, returning fair odds
total_juice ml1, ml2 juice Calculates the total juice/vig from two moneylines
payout price, wager profit Calculates the payout for a given price and wager amount
base_to_risk ml, base_amt — Converts a base amount to risk amount based on moneyline
ml_to_fractional ml — Converts moneyline to fractional odds
get_ev ml, est_prob, unit=1, verbose=True — Calculates expected value given moneyline and estimated probability
get_kelly p, ml, verbose=True — Calculates Kelly criterion bet fraction

Metadata

Release files for odds-helpers 0.0.2

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

Source distribution (sdist)

Source distribution for odds-helpers 0.0.2
File Size Uploaded Provenance Actions
odds_helpers-0.0.2.tar.gz 2.7 kB Without provenance Details for odds_helpers-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for odds-helpers 0.0.2
File Interpreter ABI Platform Actions
odds_helpers-0.0.2-py3-none-any.whl Python 3 none any Details for odds_helpers-0.0.2-py3-none-any.whl

Total release size: 6.3 kB

Release files / odds_helpers-0.0.2.tar.gz

Download URL odds_helpers-0.0.2.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f44ff778ade3f55ef7c9ff10c52ab7e72bcfb58f11da1d4555b303f38abf73f6
BLAKE2b-256 checksum
How to use checksums
b113bcb970258cbb213d58e3b82f128ed1260b25d0517518c1b68b948d4562ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / odds_helpers-0.0.2-py3-none-any.whl

Download URL odds_helpers-0.0.2-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
46cef08910d1bc81723ee6fc3b96ab332066fd47045ee01d25c2538937641f8e
BLAKE2b-256 checksum
How to use checksums
a78fbc27f183194facc5ad1f46ffc22318ef6978fa3f6af57e0c94c98de72056
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for odds-helpers 0.0.2

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.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

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