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.

PyPI version

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=15, 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.2.0.tar.gz (19.7 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.2.0-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for footsbviz-0.2.0.tar.gz
Algorithm Hash digest
SHA256 3561ab7b9f99888b5dbc3be5030e0101e65ead76ec2ec90e22f8d6d8e741578e
MD5 3ec2e66195e58b323033de068767c9ef
BLAKE2b-256 11dbe7080c40cc1073e763efd4f987eecd8dcd46b8cf88dba6960d503d9c74d3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: footsbviz-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 16.8 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e30c76e7f78c20cc8e96d33bcdd6a6bfd11f7e435d04b1bf1f441692087be117
MD5 ac4d8a55a2252eefd1e9e683465ebf62
BLAKE2b-256 d321d9598f776796c1ca8571a0ffeaf92b6bd5f8a80507d9b701b3af04eee22b

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