Skip to content

A Python application for analyzing football (soccer) player performance in matches and across a season. This tool allows coaches, analysts, and enthusiasts to evaluate and compare players based on a comprehensive set of metrics, offering insights into the best performers.

Notifications You must be signed in to change notification settings

CodeWithParthiv/Footy-Metrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Football Player Analysis Software

A Python application for analyzing football (soccer) player performance in matches and across a season. This tool allows coaches, analysts, and enthusiasts to evaluate and compare players based on a comprehensive set of metrics, offering insights into the best performers.

Features

  • Match-Analysis: Input player stats for two teams and determine the best player on the pitch.

  • Season Analysis: Input stats for all players in a season to find the man of the tournament.

  • Comprehensive Metrics: Evaluate players based on goals, assists, passes, tackles, saves, and more.

  • Penalty Analysis: Include penalty goals and saves in the evaluation.

  • Visualization: Visualize player performance with a pie chart displaying the points distribution.

Metrics

The application collects and evaluates the following metrics for each player:

  • Goals
  • Assists
  • Time Played (minutes)
  • Final Third Passes
  • Total Passes
  • Chances Created
  • Successful Dribbles
  • Shots
  • Shots on Target
  • Free Kicks Scored
  • Penalties Scored
  • Crosses
  • Ground Duels Won (%)
  • Aerial Duels Won (%)
  • Interceptions
  • Tackles
  • Game-changing Tackles
  • Fouls Won
  • Yellow Cards
  • Red Cards
  • Total Saves (including penalties)
  • Man of the match
  • Trophies
  • Top scorer awards
  • Player of the tournament

How to Use

  • Clone the Repository:
  git clone https://github.com/yourusername/football-player-analysis.git
  cd football-player-analysis
  • Install Dependencies:
    • Ensure you have Python installed.
    • Install necessary libraries using pip:
  pip install matplotlib
  • Run the Application:
  python main.py
  • Input Player Data:

    • For match analysis, input stats for players of two teams.
    • For season analysis, input stats for all players in the season.
  • View Results:

    • The best player in a match or the man of the tournament is displayed.
    • A pie chart visualizing player points distribution is shown.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request or open an issue to discuss improvements or bug fixes.

License

MIT License

Copyright (c) 2024 CodeWithParthiv

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A Python application for analyzing football (soccer) player performance in matches and across a season. This tool allows coaches, analysts, and enthusiasts to evaluate and compare players based on a comprehensive set of metrics, offering insights into the best performers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages