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
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.7.0.tar.gz
.
File metadata
- Download URL: luascli-0.7.0.tar.gz
- Upload date:
- Size: 7.2 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0909e42c94e5c9bb751c993879a16135f313ffcf8c480dd23dc95a61dd953b2f |
|
MD5 | 3d5b63f665476d386da21a5bb3e98cd0 |
|
BLAKE2b-256 | 60166f3eaca5e177489a5fcd2cde1282ede7197beb971c2962d5b0f3006f880f |
File details
Details for the file luascli-0.7.0-py3-none-any.whl
.
File metadata
- Download URL: luascli-0.7.0-py3-none-any.whl
- Upload date:
- Size: 8.7 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b1dcc8fb5f5c92d7a3e7bed3613ddf0a360ff490b525d6c5386a9f6f8192782 |
|
MD5 | 7c628ff4e95bee1f247e67410214ad9f |
|
BLAKE2b-256 | c432ca170770edc8c280823cc64b6ff9f34aff9f607c81a2fe08adff4835d3de |