Metadata-Version: 2.4
Name: odds-helpers
Version: 0.0.1
Summary: A series of useful functions in betting.
Author-email: Deep Pulusani <deep.pulusani@gmail.com>
License-Expression: MIT
License-File: LICENSE
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.1
Description-Content-Type: text/markdown

### odds-helpers

## Functions

| Function | Parameters | Description |
|----------|------------|-------------|
| `moneyline_to_prob` | `ml`, `places=2` | Converts a moneyline to implied probability |
| `prob_to_moneyline` | `prob` | Converts a probability to moneyline format |
| `remove_vig` | `prob1`, `prob2` | Removes the vig from two probabilities, returning fair odds |
| `total_juice` | `ml1`, `ml2` | Calculates the total juice/vig from two moneylines |
| `payout` | `price`, `wager` | Calculates the payout for a given price and wager amount |
| `base_to_risk` | `ml`, `risk_amt` | Converts a base risk amount based on moneyline |- moneyline_to_prob
