Footix is a Python package for sports betting analysis and modeling, with a focus on football (soccer).
Project description
🐓 Footix: Smart Sports Analysis & Prediction Toolkit
Features • Installation • Quick Start
🎮 Overview
Footix is your intelligent companion for sports analysis and prediction. Leveraging advanced machine learning algorithms and comprehensive data analysis, it helps you make data-driven decisions in sports betting and analysis.
✨ Features
-
📊 Advanced Data Analysis
- Import data from multiple sports databases
- Clean and preprocess sports statistics
- Comprehensive historical data analysis
-
🤖 Smart Prediction Engine
- Machine learning-powered outcome prediction
-
💰 Strategic Betting Tools
- Risk assessment algorithms
- Bankroll management system
- Multiple betting strategy templates
🚀 Installation
Install Footix with pip:
pip install pyfootix
🎯 Quick Start
from footix.models.bayesian import BayesianModel
from footix.data_io.footballdata import ScrapFootballData
# Load match data (example: Ligue 1 fixtures)
dataset = ScrapFootballData(competition="FRA Ligue 1", season="2024-2025", path ="./data", force_reload=True).get_fixtures()
# Initialize and fit the Bayesian model
model = BayesianModel(n_teams=18, n_goals=20)
model.fit(X_train=dataset)
# Predict probabilities for a specific match
probas = model.predict(home_team="Marseille", away_team="Lyon").return_probas()
print(f"Home: {probas[0]:.2f}, Draw: {probas[1]:.2f}, Away: {probas[2]:.2f}")
📤 Exporting Predictions
You can export Bayesian predictions to JSON using:
- Core Python utilities for script/automation workflows
See the full tutorial in docs/source/prediction_export_tutorial.rst.
📝 License
This project is licensed under the MIT License - see the LICENSE file for details.
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
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 pyfootix-0.3.1.tar.gz.
File metadata
- Download URL: pyfootix-0.3.1.tar.gz
- Upload date:
- Size: 56.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1f0cdfa3ade1ae57f40a1ca6ca22ad4733f8be4c94f005490ab2da50d1bd1d1
|
|
| MD5 |
7debd13c631b212f552061dc8585fd76
|
|
| BLAKE2b-256 |
4160d8ea868ecbe0b353ebfda3d7cfc3ff19a8b49cc2135496b5e8e0d15d8342
|
File details
Details for the file pyfootix-0.3.1-py3-none-any.whl.
File metadata
- Download URL: pyfootix-0.3.1-py3-none-any.whl
- Upload date:
- Size: 70.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ba0d212d9aaa1e7fbac4e35729c5f8097b600d504e3df420f7382eaa033471e
|
|
| MD5 |
de5c1d9a1908b4eaa253fc9aeda1674c
|
|
| BLAKE2b-256 |
a2fd26f79be95c627960230a6f0b57c7a8ff79004cbf22b38ac51d671155c20f
|