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

Uploaded Python 3

File details

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

File metadata

  • Download URL: taiwanbus-0.0.7.tar.gz
  • Upload date:
  • Size: 14.7 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.7.tar.gz
Algorithm Hash digest
SHA256 68baffcf63d25253829f8242eac89fbe7994726b30c75f5bdcc89758c035d253
MD5 404fc5ee41c5e7786d06b32d6b7fdcfe
BLAKE2b-256 52e34d4159d89148459433ac205e6c03665d8981c51f3bac0fb3c1964d5b795b

See more details on using hashes here.

Provenance

The following attestation bundles were made for taiwanbus-0.0.7.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.7-py3-none-any.whl.

File metadata

  • Download URL: TaiwanBus-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 12.8 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 b1caab15e7b2d608fdf52f0e607123270f60e6c9a7ae57110468a2d0464a6c1e
MD5 a9ea050e8c6c75e726d4dc28db0af025
BLAKE2b-256 57fb994a6fddff353a6e99cd34d9a3baecdf2548953878d18ec130da85c70723

See more details on using hashes here.

Provenance

The following attestation bundles were made for TaiwanBus-0.0.7-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