Skip to main content

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

Project description

Tokyo Sports Scraper

tests publish issues pull requests last commit pypi python license

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

インストール

pip install autorace-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.9.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.9-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for autorace_tokyo_sports_scraper-0.1.9.tar.gz
Algorithm Hash digest
SHA256 094c893970df53608ea1c5764e2fd2b2df175d7ac72f51107c48602f6cdd39e9
MD5 716f7d777ac0735e7dd6ec00efc6717b
BLAKE2b-256 ecabd840b5ce8720c48856b8d70475cef0b1c2301dd35bf6184dabbfc166a8ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for autorace_tokyo_sports_scraper-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 b672bf1d69f1567f315d93174a45f03a71c73224f463a1da689e0bf1ac43f19e
MD5 bbf7d94a14dcb25cecbda946d590b589
BLAKE2b-256 9056c6ebe75886ac6e197d3551be2a4bc27eced6fd570b006dd9d143262dfa59

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