{"id":13668765,"url":"https://github.com/statsbomb/socplot","last_synced_at":"2025-04-27T01:31:40.425Z","repository":{"id":115959247,"uuid":"164324193","full_name":"statsbomb/socplot","owner":"statsbomb","description":" Python package that helps you visualize football data :soccer:","archived":true,"fork":false,"pushed_at":"2019-01-06T19:53:56.000Z","size":443,"stargazers_count":64,"open_issues_count":0,"forks_count":10,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-12-03T08:50:27.891Z","etag":null,"topics":["data-visualization","football-data"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/statsbomb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":"docs/code-of-conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-01-06T16:19:03.000Z","updated_at":"2024-09-13T21:53:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"98610ee8-6065-4e52-bd4b-39ddf75ca92b","html_url":"https://github.com/statsbomb/socplot","commit_stats":null,"previous_names":["arqamfc/socplot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statsbomb%2Fsocplot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statsbomb%2Fsocplot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statsbomb%2Fsocplot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statsbomb%2Fsocplot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/statsbomb","download_url":"https://codeload.github.com/statsbomb/socplot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251077004,"owners_count":21532606,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-visualization","football-data"],"created_at":"2024-08-02T08:00:48.955Z","updated_at":"2025-04-27T01:31:35.411Z","avatar_url":"https://github.com/statsbomb.png","language":"Python","readme":"# Socplot\n\nSocplot is a python 3 package that helps you visualize football data. __[WIP]__\n\n\n## Why Socplot?\n\n- Made by [football enthusiast](www.arqamfc.com).\n- Fully configurable in terms of dimensions, colors and types.\n- Lightweight and Flexibility: Socplot is built on top of matplotlib. You have full control.\n- Straightforward: Socplot has many built in figures that gets you directly to the point.\n\n## Gallery\n\n__Pressure heat map__\n\npressures position heat map for an example match\n![](https://raw.githubusercontent.com/ArqamFC/socplot/master/docs/gallery/heatmap1.png)\n\n![](https://raw.githubusercontent.com/ArqamFC/socplot/master/docs/gallery/heatmap2.png)\n\n__Pass map__\n\npass map for selected time window in an example match\n![](https://github.com/ArqamFC/socplot/blob/master/docs/gallery/pass_map1.png)\n\nfirst 15 mins passes in an example match\n![](https://github.com/ArqamFC/socplot/blob/master/docs/gallery/pass_map2.png)\n\n\n\n## Example \n\n```python\ncode snippet used to generate the last image\nimport pandas as pd\nfrom socplot.pitch import Pitch\n\npitch = Pitch()\n\n# load the passes dataset\n\nfor _, row in passes.iterrows():\n   pitch.plot_pass(row['sx'], row['sy']],[row['ex'], row['ey']] , row['type'])\n\npitch.heat_map(df['sx'], df['sx'], color='tan')\n```\n\n__\n\n## Installation\n\npip installtion coming soon\n\n## Dev Installation\n\n```shell\n# fork the repo\ncd socplot\nvirtualenv -p python3 env\nsource env/bin/activate\npip install -r requirements.txt\n```\n\n## LICENCE\n\nArqamFc/Socplot licensed under the __Apache License 2.0__.","funding_links":[],"categories":["Tools"],"sub_categories":["Papers"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstatsbomb%2Fsocplot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstatsbomb%2Fsocplot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstatsbomb%2Fsocplot/lists"}