Skip to main content

Query TFL tube line status

Project description

tflstatuscli

tflstatuscli is a Python CLI written using the Typer CLI framework for querying the TFL Tube line statuses

Installation

pip install tflstatuscli

Usage

Show status of all tube lines

tflcli status   

Show status of particular tube line

tflcli status --line <line_name>

NOTE: When searching a particular tube line, validity is checked against the TFL APIs list of tube lines which at the time of writing this includes;

  • Bakerloo
  • Central
  • Circle
  • District
  • Hammersmith & City
  • Jubilee
  • Metropolitan
  • Northern
  • Piccadilly
  • Victoria
  • Waterloo & City

Show all disruptions on TFL tube lines

tflcli disruptions

Poetry Usage

Run these commands within project root dir with python poetry installed.

Install package and dependancies locally

poetry install

Run tests

poetry run pytest -v

Build wheel

poetry build

NOTE: Wheel located under /dist in project root dir

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

tflstatuscli-0.1.4.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

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

tflstatuscli-0.1.4-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file tflstatuscli-0.1.4.tar.gz.

File metadata

  • Download URL: tflstatuscli-0.1.4.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.9.2 Darwin/21.6.0

File hashes

Hashes for tflstatuscli-0.1.4.tar.gz
Algorithm Hash digest
SHA256 d32bcf74c8cbb618bc92c98245c7007aa67fe828b22ff636d506e7a516873400
MD5 619d37efc2124af03bf5136d7be27a21
BLAKE2b-256 9353653d078f5252570b3ce80aa0efd30c3966557d5093eb5efc4bdcb30efde7

See more details on using hashes here.

File details

Details for the file tflstatuscli-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: tflstatuscli-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.9.2 Darwin/21.6.0

File hashes

Hashes for tflstatuscli-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1f35f2adcc35d4303e633f09e5ba81909c20ba9ea98ccd1752f9fa06e40e055a
MD5 49046be88cb7a01dc927f3c62a8b632e
BLAKE2b-256 1f61febaf6ef3935a71f25827d2545ed54aec72e3773c74a02529409a9ffd39d

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