No project description provided
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
stakepd-0.1.3.tar.gz
(9.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
stakepd-0.1.3-py3-none-any.whl
(16.7 kB
view details)
File details
Details for the file stakepd-0.1.3.tar.gz.
File metadata
- Download URL: stakepd-0.1.3.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d316b356e27315cd17ccf66d6f854da8232d8338a625719678e2b49daef2de9
|
|
| MD5 |
6a8953b8eb82154a7c6624469193b877
|
|
| BLAKE2b-256 |
c867c21c4e941832b0f3618e75a3695d35e44bf336aff258e49945bb84dc3db5
|
File details
Details for the file stakepd-0.1.3-py3-none-any.whl.
File metadata
- Download URL: stakepd-0.1.3-py3-none-any.whl
- Upload date:
- Size: 16.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
318eaef6ed6f244645b002ca238ef00fce45700d0c0dd2e053d1e2a85d4bc10e
|
|
| MD5 |
27bed8b70ff19e4ceb2a0e17fa2c7ab1
|
|
| BLAKE2b-256 |
5aa4ef1dce8ac59abe67b06b23b914fe9ffe99f40970935feada3491cec0c377
|