Skip to main content

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

Project description

release release candidates build and test coverage License: MIT

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

Usage

Usage: luas [OPTIONS] COMMAND [ARGS]...

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  address  Display the address of the Luas stop
  fare     Calculate the fare price for adults and child between stops
  map      Launch Openstreet map URL with the stop location
  status   Check if the Luas stop is operational
  stops    List luas line stop names and its abbreviations (used in other commands)
  time     Display the the inbound/outbout timetable of a particualr 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

# Display the inbound/outbound time table on Citiwest luas stop in json format
luas time cit --format json

# Calculate Luas Fare
luas fare cit jer --adults 2 --children 1

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.8.0.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

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

luascli-0.8.0-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: luascli-0.8.0.tar.gz
  • Upload date:
  • Size: 7.6 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.8.0.tar.gz
Algorithm Hash digest
SHA256 42b18bf7abff85134d7363bca87d131c82bd8b7644f1658950dd9c4a3e0e9d33
MD5 abd01489f8f8bffcc804b29ad82df95c
BLAKE2b-256 c2de63120d4fce81a046d4e8cbe82ca8b08b9d05f599af7a118c812c8c5ebbd8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: luascli-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 8.9 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.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 31c42163f0a0646ea2d9b2115a207caea65194f46bffe5ecba6c73c69f62a526
MD5 20b87a84b34fa4c7cda9b44cf7ab1dc6
BLAKE2b-256 bb029b889e9b38f060182e1eccbbc4a86fd59544469e4e6f9f1a355ae4bfe2fa

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