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 StartDocumentation

🎮 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 Bayesian
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 = Bayesian(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}")

📝 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.1.1.tar.gz (37.0 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.1.1-py3-none-any.whl (50.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyfootix-0.1.1.tar.gz
  • Upload date:
  • Size: 37.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pyfootix-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4b8a665385686273c24dd5f6582b55fac3c6aa1b95914df8793058b4cbe88b6c
MD5 fa97fab701c516cc0f5f776f0377b1cb
BLAKE2b-256 5d185d1b558dde4f8bec96bfd9c03a071f209bfe1cc319a52a9bd5ec3edbe5d8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyfootix-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6d585832726751a291e26b983c51b80edc2684885abfeaa08a93e548ce5db06c
MD5 87553a325c401785825b2d8475fe1693
BLAKE2b-256 559772f431de7fa14c60625152b8b0e1500a1fb28e32119bf275afe7a6f42d62

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