Skip to main content

東京スポーツのオートレース情報をスクレイピングするライブラリ

Project description

Tokyo Sports Scraper

tests publish issues pull requests license last commit

東京スポーツのオートレース情報をスクレイピングするライブラリです。

インストール

pip install tokyo-sports-scraper

使い方

from tokyo_sports_scraper import scrape, Race, Rider

if __name__ == '__main__':
    race_info: Race = scrape('2025/08/04', 5, 8)

    print(f'タイトル: {race_info.title}')
    print(f'サブタイトル: {race_info.subtitle}')
    print(f'天候: {race_info.weather}')
    print(f'気温: {race_info.temperature}')
    print(f'湿度: {race_info.humidity}')
    print(f'走路温度: {race_info.pavement_temperature}')
    print(f'走路状況: {race_info.track_condition}')
    print('---')

    for rider_info in race_info.riders:
        print(f'車番: {rider_info.number}')
        print(f'名前: {rider_info.name}')
        print(f'LG: {rider_info.locker_ground}')
        print(f'期別: {rider_info.registration_term}')
        print(f'年齢: {rider_info.age}')
        print(f'車級: {rider_info.bike_class}')
        print(f'ランク: {rider_info.rank}')
        print(f'審査ポイント: {rider_info.points}')
        print(f'ハンデ: {rider_info.handicap}')
        print(f'試走タイム: {rider_info.trial_time}')
        print(f'試走偏差: {rider_info.trial_deviation}')
        print(f'平均試走タイム: {rider_info.average_trial_time}')
        print(f'平均競走タイム: {rider_info.average_race_time}')
        print(f'最高競走タイム: {rider_info.fastest_race_time}')
        print('---')

ライセンス

Tokyo Sports Scraperは MITライセンス の元で公開されています。

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

autorace_tokyo_sports_scraper-0.1.8.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

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

autorace_tokyo_sports_scraper-0.1.8-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file autorace_tokyo_sports_scraper-0.1.8.tar.gz.

File metadata

File hashes

Hashes for autorace_tokyo_sports_scraper-0.1.8.tar.gz
Algorithm Hash digest
SHA256 2f75e351c5f204e9cce1b1056904f272d50419e4ae15a8b85f28ecae23797d85
MD5 f1a846c49a5f41fc32e260a2e1bbd357
BLAKE2b-256 d68126ad222c7d4e2fa24607d307cc95730d72ea5b24eefb30f29dd97160ccb5

See more details on using hashes here.

File details

Details for the file autorace_tokyo_sports_scraper-0.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for autorace_tokyo_sports_scraper-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 f642424e0b159f9cba67f8aba3d20329c724883b05aedaca08fbd4032991cb17
MD5 8ee5084e7520c9e8ee09561c3ff17280
BLAKE2b-256 e7dba9053520612d9c466bcf2848c2b349372a7abd83f84b792327095462077b

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