Skip to main content

Zero-friction visuals for StatsBomb open data (no data engineering).

Project description

footsbviz

Zero-friction helpers to visualize StatsBomb Open Data — without manual data engineering.

Not affiliated with StatsBomb. Please respect the StatsBomb Open Data license and terms.

Install

pip install footsbviz
# or with optional viz extras:
pip install "footsbviz[viz]"

Quickstart

import footsbviz as fz

# events_df = (your StatsBomb events DataFrame with standard columns)
fig, ax = fz.create_shot_map_team(
    events_df, team_name="Belgium", team_colour="#d00",
    pitch_length_x=120, pitch_length_y=80,
    orientation="horizontal", aspect="full",
    x_dimensions=10, y_dimensions=7,
    subtitle="Example Match", save_path=None, show=True
)

Credits

This library draws inspiration from community work on StatsBomb visuals. Certain function ideas and column expectations originated in publicly shared scripts; we re-implemented them in a package-friendly way and added a stable API. See CREDITS.md for attribution.

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

footsbviz-0.1.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

footsbviz-0.1.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file footsbviz-0.1.0.tar.gz.

File metadata

  • Download URL: footsbviz-0.1.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for footsbviz-0.1.0.tar.gz
Algorithm Hash digest
SHA256 67e821b8790e1e3c309ab2111e28b80e27fdd62d5e3639a98a3a1a78af106a7b
MD5 da33f52692ac8203f97c15ba354abbb6
BLAKE2b-256 a048445489a26dd0c05af71ff356269ce15bf84bc579578a60edc6af8ee100d5

See more details on using hashes here.

File details

Details for the file footsbviz-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: footsbviz-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for footsbviz-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b0b91c9e60a9690080f3ab08e418870d47be4f4ae8a9bc46dd135f374045303a
MD5 d4fcbb720112328d97488c911a6d3049
BLAKE2b-256 07628109c5270459f2b3f31d734180535d3d74ea0566972c9e2cacfd64e6c5aa

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