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.
Disclaimer
This project contains Irish Public Sector Data licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0) licence. You can find more information about the license at Open License.
Demo
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file luascli-0.10.0.tar.gz
.
File metadata
- Download URL: luascli-0.10.0.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f730a3bf7f4f16c4f0ff866d267644a71279228c772c9508f4509504ff499aa9 |
|
MD5 | 193cbb991b37e3e80f67c80c1aee899f |
|
BLAKE2b-256 | 08fe6392b5ed806fb458568ac70469c624f48c7295b802d742082461b5d14e37 |
File details
Details for the file luascli-0.10.0-py3-none-any.whl
.
File metadata
- Download URL: luascli-0.10.0-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f626e2fa7f91727aa2934128cf1120604ff5b12502e74d3aa488da8e6d448c8 |
|
MD5 | 57934775074419b1978ec98c1b798e22 |
|
BLAKE2b-256 | 79bbafe852c614cc6f6dfb3b09633e8b6b049c55a12fe1f52b00dbe8baeee708 |