Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

tdx-tw

Latest version: v0.2.0

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
PyPI package Publisher: nolantw
0 Stars
0 Forks
4 Versions
Python Repo language

Scan summary

tdx-tw was last scanned on 30 Nov 2026 at version 0.2.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 4 versions, all published on 30 Nov 2026.
  • Findings: No rules fired in version 0.2.0.

Versions

4 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.0 LATEST 30 Nov 2026 No rules fired
0.1.2 30 Nov 2026 No rules fired
0.1.1 30 Nov 2026 No rules fired
0.1.0 30 Nov 2026 Not shown

No rules fired in 0.2.0

Findings

Findings for v0.2.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.2.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

臺灣運輸資料流通服務平臺(TDX)匯集全臺公共運輸與道路資料。這個 SDK 負責認證、呼叫 API 與驗證回應,並把公車、軌道、自行車、停車、路況、航空、航運等資料整理成 Python 物件,同步與非同步皆可使用。

安裝

需要 Python 3.13 以上版本。PyPI 套件名稱為 tdx-tw,匯入名稱為 tdx。

pip install tdx-tw

使用 uv 則執行 uv add tdx-tw。匯出表格、座標轉換等選用功能需要額外套件,見選用功能。

設定 API 金鑰

至 TDX 註冊會員,在會員中心取得 API 金鑰的 Client ID 與 Client Secret,並設為環境變數,SDK 會自動讀取:

# macOS、Linux
export TDX_CLIENT_ID="Client ID"
export TDX_CLIENT_SECRET="Client Secret"
# Windows PowerShell
$env:TDX_CLIENT_ID = "Client ID"
$env:TDX_CLIENT_SECRET = "Client Secret"

範例

查詢公車路線各站的到站時間:

from tdx import Client

with Client() as client:
    for board in client.bus_route("Taipei", "307").board():
        print(board.route_name, board.direction)
        for item in board.stops:
            print(item.stop.name, item.estimate_seconds)

功能

功能 說明
公車 到站預估、站序、班表、票價與車輛動態
軌道 臺鐵、高鐵、捷運的時刻表、票價、座位與即時動態
自行車 租借站與即時借還數量
停車 停車場、路邊停車、即時空位與費率
附近查詢 座標附近的站牌、車站、自行車站與停車場
路線規劃 結合公共運輸、步行、自行車與開車的路線
路況與道路事件 偵測器、攝影機、路段路況、施工與封閉
道路與路段編碼 道路、交流道、路段線型與版本異動
航空 航班看板、班表、國內票價與機場氣象
航運 航線、船班、票價與到離港看板
充電樁 充電站、費率與充電槍即時狀態
GIS 圖資 交通圖層與行政區界線
觀光資訊 台灣好行、景點即時影像、日月潭船班與纜車
長者服務 車站與景區的設施、服務、敬老卡與樂齡套票
定位服務 坐標、地址與里程對應路段,查詢周邊資訊
歷史資料 串流讀取每日動態、資料版本、國道 eTag 統計與交通事故
資料異動 版本差異與異動歷程
即時推播 以 MQTT 接收最新消息與營運通阻
GTFS Realtime 公車動態、到站時間與營運通阻
篩選與分頁 篩選、排序與空間條件
用戶端與快取 非同步查詢、重試、記憶體與磁碟快取
結果與匯出 匯出為 Polars、pandas 或 Arrow 表格
原始 API 與 XML 直接呼叫端點、解析 XML

完整說明見文件網站。

貢獻

歡迎到 GitHub Issues 回報問題或提出 API 需求。

請見變更紀錄。資料由運輸資料流通服務平臺提供。tdx-tw 為非官方套件,與交通部無關。


OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases tdx-tw

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229