Skip to main content

A Python package for scraping Women's Super League (WSL) football data

Project description

pywsl

pywsl is a Python package for scraping Women's Super League (WSL) football data. It provides tools to retrieve league tables, fixtures, top scorers, squad market valuations, and venue attendances.

Installation

Clone the repository and install the dependencies:

git clone https://github.com/yourusername/pywsl.git
cd pywsl
pip install -r requirements.txt 

Usage

from pywsl import (
    get_league_table,
    get_fixtures,
    get_top_scorers,
    get_squad_valuations,
    get_venue_attendance
)

# League table
league_df = get_league_table()

# Fixtures
fixtures_df = get_fixtures()

# Top scorers for a season
scorers_df = get_top_scorers("2024")

# Squad market values
squads_df = get_squad_valuations()

# Venue attendance
venues_df = get_venue_attendance("2024")

Modules

  • league.py – Scrapes the current league table.
  • fixtures.py – Scrapes upcoming and past match fixtures.
  • scorers.py – Scrapes top goal scorers by season.
  • squads.py – Scrapes squad size, average age, and market values.
  • venues.py – Scrapes venue data including capacity and attendance

Dependencies

  • pandas
  • requests
  • beautifulsoup4
  • selenium
  • webdriver-manager

License

MIT License

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

py_wsl_scraper-0.1.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

py_wsl_scraper-0.1.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_wsl_scraper-0.1.0.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.3

File hashes

Hashes for py_wsl_scraper-0.1.0.tar.gz
Algorithm Hash digest
SHA256 13bbd32e4ee62889cc879ebb3da5365b93048eb360b0afe66983d053c09fc280
MD5 374c295ae3463563676aeed91bb87171
BLAKE2b-256 ee175f6a6ae95068ace1d1f38f895429aaa43717af42b8da39d27d6da07ea8be

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_wsl_scraper-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.3

File hashes

Hashes for py_wsl_scraper-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 50c2163e99f0392b61ebed1f53612d69c11641d4e1629d89817bb987aa72db69
MD5 49f3b3422a538756b371b1a53f4ad78a
BLAKE2b-256 582446c7ff5882491e4e1b22c3568f416a3e2ef3d06cf5376709884698bc52c4

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