Skip to main content

Footix is a Python package for sports betting analysis and modeling, with a focus on football (soccer).

Project description

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

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

pyfootix-0.3.1.tar.gz (56.2 kB 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.1-py3-none-any.whl (70.0 kB view details)

Uploaded Python 3

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

Hashes for pyfootix-0.3.1.tar.gz
Algorithm Hash digest
SHA256 c1f0cdfa3ade1ae57f40a1ca6ca22ad4733f8be4c94f005490ab2da50d1bd1d1
MD5 7debd13c631b212f552061dc8585fd76
BLAKE2b-256 4160d8ea868ecbe0b353ebfda3d7cfc3ff19a8b49cc2135496b5e8e0d15d8342

See more details on using hashes here.

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

Hashes for pyfootix-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0ba0d212d9aaa1e7fbac4e35729c5f8097b600d504e3df420f7382eaa033471e
MD5 de5c1d9a1908b4eaa253fc9aeda1674c
BLAKE2b-256 a2fd26f79be95c627960230a6f0b57c7a8ff79004cbf22b38ac51d671155c20f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page