Skip to main content

This is a CLI tool that helps you to get LUAS Irish Transport information

Project description

Overview

This is a CLI tool that helps you to get LUAS Irish Transport information. This tool is based on the Luas Forecasting API integrated with the Open Street Map API

luascli is licensed under the MIT license.

Basic information

This CLI uses the following format:

luas <line> command <argument> [parameters]

where

<line> : the luas line name: red|green

<argument> : commands can have arguments and/or optional parameters. The most comonn is the <stop> which means the abbreviated stop name. You can get it from stops command.

How to install

pip install luascli

How to use

luas <red|green> <command> <arguments>
luas --help

Commands

  • stops: list all stops for a particular line
  • status: show the operational status of the line
  • map: display the location of the luas stop on the map (default browser)

Examples:

# Show all red luas stops and their abbreviations (to be used with other commands)
luas red stops 

# Display the list of all green luas stops
luas green stops

# Show in your browser, the location of Citywest Luas Stop
luas red map cit

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

luascli-0.4.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

luascli-0.4.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file luascli-0.4.0.tar.gz.

File metadata

  • Download URL: luascli-0.4.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for luascli-0.4.0.tar.gz
Algorithm Hash digest
SHA256 35042baffc54f17ab07785b4c7ec46a797d1cb34efacf5728b58dda644858801
MD5 50046f15176dfada8fa47091b9c72187
BLAKE2b-256 c86ede4cddb851bd4a59a45475b3d24e7b47889d5ffe148d8312110a0f8fe0f1

See more details on using hashes here.

File details

Details for the file luascli-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: luascli-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for luascli-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cec9534e184ac61ba404c755acf671a43c0644f6eb47924ec1c4eabcaeaf602d
MD5 c0466d7730d81621c724a7bf054b08c6
BLAKE2b-256 d27ad38d5b33011281e389df9f903f1123cb16c3b9f09261ef4cd0c67cf0cc89

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page