Skip to main content

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

Project description

py_wsl_scraper

PyPI version

py-wsl-scraper logo

py_wsl_scraper 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.

Why This Matters

While there are several Python packages for scraping football data, most are focused exclusively on men's leagues. Access to structured, reliable data for women's football is still limited and fragmented.

py-wsl-scraper helps fill this gap by targeting the Women's Super League (WSL) using Soccerdonna — a specialist data source affiliated with Transfermarkt that provides deeper coverage of the women’s game.

This package supports researchers, analysts, and developers who want to build inclusive tools, run analysis, and advocate for visibility and representation in football data.

Installation

Install via pip:

pip install py-wsl-scraper

Alternatively, clone and install manually:

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.1.tar.gz (7.1 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.1-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_wsl_scraper-0.1.1.tar.gz
  • Upload date:
  • Size: 7.1 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.1.tar.gz
Algorithm Hash digest
SHA256 0cf3ded68add4055a578eb20f40f75d747a79510225fbd7eff0d974d7268470b
MD5 62ce5814b4f6cda348da4c761dcbecd6
BLAKE2b-256 74f9207f392a191604fbd89ca20cba9e70384ba473edeabae370e19d32bf0d50

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_wsl_scraper-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b9b227f84993cf1c2d325f6a847ad311d4591ca71475f8b0d24f2876d4a9c249
MD5 4dbca5183a2eabd6b8b4b9a36b620c07
BLAKE2b-256 067aecbd48daeed9f5994b3c14c944bf03d28c9e335c574fae11f7eb43e44963

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