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.0.tar.gz (56.1 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.0-py3-none-any.whl (70.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyfootix-0.3.0.tar.gz
  • Upload date:
  • Size: 56.1 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.0.tar.gz
Algorithm Hash digest
SHA256 864744f25ea0c5f170ca4b81a078aa4eb4d7adef875d9fc52a019c7fe6447ea9
MD5 322b61f99250ff4746f63b5f50fd470c
BLAKE2b-256 ae40b2948d476466d7cbf9ce00fa55f2ae6d261895f48617f67cdaf2cdc4c0bc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyfootix-0.3.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1a0c51922a54a73e5a825c9bf2711db08ece64bc27ef823704e3462e28cdd935
MD5 2026eb5567832c07b1f6e6accf6e6b7f
BLAKE2b-256 603f2dcb0cde68153b97ffb12bf7b4ca1c84d8a108a04488bd00d9eb5f2d2b98

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