Skip to main content

statsbombpy uses local open-data

Project description

statsbombpy-local

statsbombpy uses local open-data.

If you have open-data downloaded locally, you can use it.

Installation

pip install statsbombpy-local

Configuration

Write open-data path to .env or add environment variable: OPEN_DATA_REPO_PATH=your open-data repo path

Usage

from statsbombpy_local import sb

Same as statsbombpy

sb.competitions()
sb.matches(competition_id=2, season_id=44)
sb.lineups(match_id=3749068)["Arsenal"]
sb.events(match_id=3749068)
sb.frames(match_id=3788741)
sb.competition_events(country="Europe", division="UEFA Euro", season="2020")
sb.competition_frames(country="Europe", division="UEFA Euro", season="2020")

Note

  • "player_match_stats", "player_season_stats", "team_season_stats", have not been changed because they require credentials.

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

statsbombpy_local-0.2.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

statsbombpy_local-0.2.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: statsbombpy_local-0.2.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.0 Linux/5.15.0-1041-azure

File hashes

Hashes for statsbombpy_local-0.2.0.tar.gz
Algorithm Hash digest
SHA256 94d92df75504c041befef8931297b1ee52e9a5f43a5dc44d3c3a1eeb5fdcd390
MD5 7e4f7ea74a30d4b93eaad39f5f987536
BLAKE2b-256 4c4f9576ed57732fd28763371a13016ae6cb62bb667a3fef18a3489ca265d887

See more details on using hashes here.

File details

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

File metadata

  • Download URL: statsbombpy_local-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.0 Linux/5.15.0-1041-azure

File hashes

Hashes for statsbombpy_local-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2865b0c802d925b8e6065255ecbf6cd4aea105c2a9fe805b2b34207071f2c8d1
MD5 029acb5d74b803ea79911a0f21fe0ebf
BLAKE2b-256 16da53083c9f81c52ea462f0891f6a6192d5970ca244a4dabd46103a6e42aaf4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page