🐓 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.
Supports Python 3.12 through 3.14. The package is published as pyfootix and imported as footix.
✨ 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
CPU (default)
# uv (recommended) — CPU torch resolved automatically
uv add pyfootix
# pip — pass the PyTorch CPU index to avoid CUDA packages
pip install pyfootix --extra-index-url https://download.pytorch.org/whl/cpu
GPU (Linux with CUDA)
# uv — override torch to use PyPI (includes CUDA on Linux)
uv add pyfootix --no-sources
# pip — standard PyPI install includes CUDA on Linux
pip install pyfootix
🎯 Quick Start
Build a score matrix straight from expected goals and read off the 1X2 probabilities:
from footix.models.score_matrix import GoalMatrix
from footix.models.utils import poisson_proba
gm = GoalMatrix(
home_goals_probs=poisson_proba(lambda_param=1.5, k=20),
away_goals_probs=poisson_proba(lambda_param=1.2, k=20),
)
probas = gm.return_probas()
print(f"Home: {probas.proba_home:.2f}, Draw: {probas.proba_draw:.2f}, Away: {probas.proba_away:.2f}")
Want to train a model on real match data? Follow the Elo or Poisson tutorial.
📤 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.
Metadata
Release files for pyfootix 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyfootix-0.4.0.tar.gz | 2.1 MB | Without provenance | Details for pyfootix-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyfootix-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for pyfootix-0.4.0-py3-none-any.whl |
Total release size: 2.2 MB
Release files / pyfootix-0.4.0.tar.gz
| Download URL | pyfootix-0.4.0.tar.gz |
|---|---|
| Size | 2.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0a33266210e38d20eb5cfc199446a22ab7a320bbf6ef61b164e457055824b9d
|
|
BLAKE2b-256 checksum How to use checksums |
aad8813ffd79814d6a4ee3e51ff2a3bb9c1f2a777e824ac55a8c5df38672c285
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / pyfootix-0.4.0-py3-none-any.whl
| Download URL | pyfootix-0.4.0-py3-none-any.whl |
|---|---|
| Size | 81.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9960f106ca9799826a9aa1b923c0f7afb42ad1c4abcba747a786ea47ba37b4b6
|
|
BLAKE2b-256 checksum How to use checksums |
8656a410d2649886f1dca3e2b9d8d8d16c434bbe496950ca59c57e799a98ce3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for pyfootix 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.