stakepd is a Python package that extends pandas with specialized tools for sports betting analytics. It provides custom DataFrame methods and utilities for modeling, analyzing, and simulating sports bets, odds, and outcomes.
Features
- Sports betting-specific DataFrame extensions
- Odds conversion and normalization
- Bet simulation and bankroll management tools
- Integration with pandas workflows
Installation
pip install stakepd
Usage
import pandas as pd
import stakepd
# Example: Calculate implied probabilities from odds
odds = pd.Series([2.0, 3.5, 1.8]) # A pandas Series of decimal odds
implied_probability = odds.implied_probability()
print(implied_probability)
# Output:
# 0 0.500000
# 1 0.285714
# 2 0.555556
# dtype: float64
Documentation
License
Release files for stakepd 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| stakepd-0.1.3.tar.gz | 9.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| stakepd-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.5 kB
Release files / stakepd-0.1.3.tar.gz
| Download URL | stakepd-0.1.3.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8d316b356e27315cd17ccf66d6f854da8232d8338a625719678e2b49daef2de9
|
|
BLAKE2b-256 checksum How to use checksums |
c867c21c4e941832b0f3618e75a3695d35e44bf336aff258e49945bb84dc3db5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.11
|
Release files / stakepd-0.1.3-py3-none-any.whl
| Download URL | stakepd-0.1.3-py3-none-any.whl |
|---|---|
| Size | 16.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
318eaef6ed6f244645b002ca238ef00fce45700d0c0dd2e053d1e2a85d4bc10e
|
|
BLAKE2b-256 checksum How to use checksums |
5aa4ef1dce8ac59abe67b06b23b914fe9ffe99f40970935feada3491cec0c377
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.11
|