Skip to main content

Python package for building Stanford Club Sports websites

Project description

clubsports

This Python package simplifies Club Sport web management by allowing the Club Sport website to be the ground truth of information, with additional web apps able to parse data from it. See the documentation for supported functionality.

Installation

$ pip install clubsports

Usage

Documentation can be found hosted on this GitHub repository’s pages. Additionally you can find package manager specific guidelines on conda and pypi respectively.

How to use

Let’s say we want to fetch information about the Stanford Cycling Team.

from clubsports.pipe import get_roster, get_stories
roster_url = "https://stanfordclubsports.com/sports/cycling/roster/"
get_roster(roster_url)[0]
{'title': 'Head Coach',
 'name': 'Adrian Bennett',
 'profile_url': 'https://stanfordclubsports.com/sports/cycling/roster/coaches/adrian-bennett/255'}
home_url = "https://stanfordclubsports.com/sports/cycling/"
get_stories(home_url)[0]
{'title': '2025 USA Cycling Collegiate Road National Championships',
 'date': '2025-07-05T16:01:00',
 'story_url': 'https://stanfordclubsports.com/news/2025/7/5/2025-usa-cycling-collegiate-road-national-championships.aspx',
 'image_url': 'https://stanfordclubsports.com/images/2025/7/5/nationals.jpg',
 'teaser': 'May 2-4, 2025'}

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

clubsports-0.0.1.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

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

clubsports-0.0.1-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file clubsports-0.0.1.tar.gz.

File metadata

  • Download URL: clubsports-0.0.1.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for clubsports-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4ae6ab437895bceeae2d789a16d804b8b5a9a215356fcdcb3b26cfacb889674d
MD5 09de838586749bfee306aa74ed5af556
BLAKE2b-256 587ed44edf37ef355446fc0f3d17e003785e2da7d4ce5077ea942510e5ddb1fb

See more details on using hashes here.

File details

Details for the file clubsports-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: clubsports-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for clubsports-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c371b510b1e12e1d72a68d00414751be4d07739d3aad0e433f227ae815da70f8
MD5 5da28c836801619894d9947d7b3443df
BLAKE2b-256 ce199028257d5c86850fbf5a656bc02874efb2197460b253d16dc5ddc76d077f

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