pandabet 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 pandabet
Usage
import pandas as pd
import pandabet
# 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 pandabet 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pandabet-0.1.2.tar.gz | 9.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pandabet-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.4 kB
Release files / pandabet-0.1.2.tar.gz
| Download URL | pandabet-0.1.2.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
54bb7585fcfb5735ddb99b0efdf9bc387cadc280cbe8f5bf84dfd8f9f7d43968
|
|
BLAKE2b-256 checksum How to use checksums |
d25f7876e4bb4505cb9d5a227a30502a57e6b049471e293a58184ae563961ad7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.11
|
Release files / pandabet-0.1.2-py3-none-any.whl
| Download URL | pandabet-0.1.2-py3-none-any.whl |
|---|---|
| Size | 12.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8b9370aff553a2af9babed6e98937f76c66a0092b7f5d5fa40e69120e6805fcd
|
|
BLAKE2b-256 checksum How to use checksums |
d834aed05eccb07e2be009d9d3ee0c164596e0daa5d5f75224e26b852ac1088b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.11
|