Skip to main content

No project description provided

Project description

Tubestat

Python CLI tool to see London tube statuses from the command line.

Installation

pipx install tube-stat

Tubestat relies on a config.json file with the following format:

{
  "APP": "<APPID>",
  "KEY": "<KEY>"
}

You will need to sign up for a developer API key and app name at TFL.

On Linux and Mac, the app looks for the following path:

/Users/$HOME/.config/tubestat/config.json

On Windows:

/Users/$HOME/AppData/Roaming/tubestat/config.json

Usage

Return the status on all lines:

tubestat

Return the status only on the Bakerloo line, for example:

tubestat --line bakerloo

Return the status for both the Bakerloo and Central line, for example:

tubestat --line bakerloo,central

All possible lines:

"bakerloo"
"victoria"
"central"
"circle"
"district"
"hammersmith-city"
"jubilee"
"metropolitan"
"northern"
"piccadilly"
"waterloo-city"
"dlr"
"overground"
"tram"
"elizabeth"

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

tube_stat-0.1.2.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

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

tube_stat-0.1.2-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file tube_stat-0.1.2.tar.gz.

File metadata

  • Download URL: tube_stat-0.1.2.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.13.2 Darwin/24.3.0

File hashes

Hashes for tube_stat-0.1.2.tar.gz
Algorithm Hash digest
SHA256 9869ef820c691d788db21c125966417ab5aefced8fdb21937106881d6479074d
MD5 1a95b4c1797125344301262890dc0dfd
BLAKE2b-256 1bfad6c06e6527c343681df7de68606fc0d4189a63e34aabff68e7734d8b49d6

See more details on using hashes here.

File details

Details for the file tube_stat-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: tube_stat-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.13.2 Darwin/24.3.0

File hashes

Hashes for tube_stat-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1a2c646d949d7f8cce5a4f5de0417644d1bda6eff48b1c9622c3ffbcc659ab52
MD5 7a10afdb95c06970ba095fd16e32cdc3
BLAKE2b-256 845bce02ec7d00b6fd83a5e7a5268ad40dd593f6def721a67f1cadbb928ff1e0

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