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.3.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.3-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tube_stat-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 824f1a0769ed8e6b1aea3b406c96612d093632fe22ea26f1be23a2201b5b0311
MD5 2cc3142f85c60687463d1d83c86849bc
BLAKE2b-256 6f6123f56e892c5fcf3ba9d344ae95a073bbb5f1e6ed9a74414fc3bf5c5731d4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tube_stat-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 eda5de09f22881ddfb8ec64fec4d294f956b3ff9053bbf5b7b141367f6bebbb6
MD5 9233fcf315ed59be8c79c1c1c516ac1b
BLAKE2b-256 a97d0e357ea3fc02b331f20c3f9091d85b1a4a019d9f3b69092ebabe2f3fd9aa

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