Simulation-based tool to analyze Confidence Pick Em pools
Project description
confpickem - Yahoo NFL Confidence Pick'em Analyzer
A Python package for analyzing and optimizing picks for Yahoo NFL Confidence Pick'em pools. This package provides tools for:
- Scraping Yahoo Pick'em league data
- Analyzing pick distributions and trends
- Simulating outcomes and optimizing picks
- Evaluating different picking strategies
Installation
You can install the package using pip:
pip install confpickem
Quick Start
from confpickem import YahooPickEm, ConfidencePickEmSimulator, run_simulation
# Initialize scraper with your league info
yahoo = YahooPickEm(
week=1,
league_id=YOUR_LEAGUE_ID,
cookies_file='cookies.txt'
)
# Run simulation with actual picks
simulator, stats = run_simulation(yahoo)
# Print expected points and win percentages
print("\nExpected Points by Player:")
print(stats['expected_points'])
print("\nWin Percentages:")
print(stats['win_pct'])
Features
Yahoo Data Scraping
- Scrape pick distributions and crowd confidence levels
- Track actual picks and results from your league
- Cache responses to avoid excessive requests
Simulation and Analysis
- Monte Carlo simulation of game outcomes
- Player skill modeling and analysis
- Pick optimization algorithms
- Risk/reward analysis
Strategy Optimization
- Evaluate different picking strategies
- Optimize confidence point assignments
- Analyze pick correlations and game importance
Dependencies
- Python ≥ 3.8
- requests
- pandas
- numpy
- beautifulsoup4
- scipy
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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
File details
Details for the file confpickem-0.1.0.tar.gz.
File metadata
- Download URL: confpickem-0.1.0.tar.gz
- Upload date:
- Size: 33.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c1666326300c6dd2b31f6c5d84d9d5616aa9230eea98496e7454ce74a61f320
|
|
| MD5 |
ff61c133b76b1ffa0cd138ee717f26dd
|
|
| BLAKE2b-256 |
811f58dade857bb84d5e1a78907167fe18ffa5e431f3c81757b3f393aab06104
|
File details
Details for the file confpickem-0.1.0-py3-none-any.whl.
File metadata
- Download URL: confpickem-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
454fd6c1b025a82e2eb752f24e2ddcc9e53350b21b5b1f66da25e5cede712a14
|
|
| MD5 |
28f9d75760ed4202a674303b3a41bf0d
|
|
| BLAKE2b-256 |
d2fbc9101dc26cf91da8bfd54e9aa812f224593a4c2a405495320ef3693fafd0
|