Skip to main content

Taiwan Bus API for Python

Project description

TaiwanBus

台灣公車,全台皆可使用

前置作業

從pip下載/更新

pip install TaiwanBus -U

從儲存庫安裝

# 複製儲存庫
git clone https://github.com/AvianJay/TaiwanBus

# 進入資料夾
cd TaiwanBus

# 安裝
pip install .

更新公車資料庫

taiwanbus updatedb

用法

usage: taiwanbus [-h] [-p PROVIDER]
          {updatedb,showroute,searchroute,searchstop} ...                                                                    TaiwanBus                                                                                                                           positional arguments:
   {updatedb,showroute,searchroute,searchstop}
       updatedb            更新公車資料庫
       showroute           顯示公車路線狀態
       searchroute         查詢路線
       searchstop          查詢站點

options:
   -h, --help            show this help message and exit
   -p PROVIDER, --provider PROVIDER
                             資料庫

Termux/Discord

項目已移至AvianJay/TaiwanBus-Utils

Credit

API by Yahoo!
(因為有秒數所以選這個)

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

taiwanbus-0.0.6.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

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

TaiwanBus-0.0.6-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file taiwanbus-0.0.6.tar.gz.

File metadata

  • Download URL: taiwanbus-0.0.6.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for taiwanbus-0.0.6.tar.gz
Algorithm Hash digest
SHA256 3fb13ea3f0c5d6ed6644d3372f3f47c482990d2e6a042153c279251b7f734b81
MD5 59b750045330000b5683df94a193bc41
BLAKE2b-256 bc623f908b8618c44954dec9461f14869c06509c034817a29b52206b7b7c6fa7

See more details on using hashes here.

Provenance

The following attestation bundles were made for taiwanbus-0.0.6.tar.gz:

Publisher: release.yml on AvianJay/TaiwanBus

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file TaiwanBus-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: TaiwanBus-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for TaiwanBus-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c799a58f765acee1bb9b8ed0bb56fc3ed88630c617782122fd7fc264babe3ec4
MD5 df11d72647b1230e9d45b4fe959a8d7c
BLAKE2b-256 6b949376c02e5c67a2ae1b8d2fe66c100a0d5ce1e991be014d22892cbe5afbce

See more details on using hashes here.

Provenance

The following attestation bundles were made for TaiwanBus-0.0.6-py3-none-any.whl:

Publisher: release.yml on AvianJay/TaiwanBus

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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