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 command <arguments> [parameters]

where

<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. Another one is <line> which could be red/green.

How to install

pip install luascli

How to use

luas <command> <arguments> [parameters]
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)
  • address: display the address of a particular luas stop

Examples:

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

# Show the operational status of Citywest stop
luas status cit

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

# Display the address of a luas stop
luas address 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.5.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

luascli-0.5.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: luascli-0.5.0.tar.gz
  • Upload date:
  • Size: 4.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.5.0.tar.gz
Algorithm Hash digest
SHA256 bbe5211650bf43f36962ff336076304ea1c1ccd259a3dc734beb5b0974dfba9d
MD5 0bcf6f85c338b0a9d12148294df6d150
BLAKE2b-256 d80b0ef8be793d5d40d58a07b17099ea856178b082a5b0eb672b39f7266e5e1a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: luascli-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 7.2 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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 56fe5d654683570e27c5227926b4cce6fe18a1643b1b9e33ffa31eccf224590c
MD5 f98b5a5e5fd9ffa5a99aa3f4b5f5ac67
BLAKE2b-256 cde785edfe9d49afce2a24735c88ff5b91a8ef9d06d0e317eb0cec621373afbe

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