Skip to main content
Footix Logo

🐓 Footix: Smart Sports Analysis & Prediction Toolkit

FeaturesInstallationQuick 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

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

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyfootix-0.3.2.tar.gz (2.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyfootix-0.3.2-py3-none-any.whl (67.1 kB view details)

Uploaded Python 3

File details

Details for the file pyfootix-0.3.2.tar.gz.

File metadata

  • Download URL: pyfootix-0.3.2.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pyfootix-0.3.2.tar.gz
Algorithm Hash digest
SHA256 0071efd9cd151a146454b2598831cbb83ac17777306e47893d4e8c37b034cf5d
MD5 f33cbe9fb78fdb7114c334df5cb19267
BLAKE2b-256 ec0ab1073c212937b7968b4e4831a8281f30bae5e0236c19a532fab709210504

See more details on using hashes here.

File details

Details for the file pyfootix-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: pyfootix-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 67.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pyfootix-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b039d2d5a82a7f3feec4a78decac98b5d7298d476811c1e7df27bc52fc44fa4a
MD5 234b87cbd998073062fe3e932ad26b70
BLAKE2b-256 42f12b95d08cc6bf9ce984bbe47cb6e4965c6e610c5f7e64b677d89803ad8fa7

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 files

0.3.1

2 files

0.3.0

2 files

0.2.0

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page