Command line application for the iRail API
Project description
clirail
Command line application for the iRail API
iRail provides an API for Belgian trains.
Installation
pip install clirail
Usage
Stations can be identified by name or by telegraphic code. You can learn telegraphic codes by looking at a liveboard in clirail, or looking at stations' Wikipedia articles.
Liveboard
A list of the trains departing shortly in a station.
./clirail STATION: departing ASAP./clirail STATION '' DEPARTURE_MOMENT: departing at another moment
Route planning
./clirail FROM_STATION TO_STATION: departing ASAP./clirail FROM_STATION TO_STATION DEPARTURE_MOMENT: departing at another moment
Disturbances
A list of all recent disturbances on the network.
./clirail
Licenses
- clirail code is released under GNU GPLv3+.
- xdg is released under ISC.
Known issues
- Provided dates will be today, even though in some cases it makes more sense to consider it "tomorrow" (e.g. at 11 PM planning a route with departure at 7 AM)
- No help text yet
Development
To create a virtualenv and install the dependencies in it:
tools/create_venv.py
If you introduce dependencies, list them in setup.py under install_requires, and run
tools/update_requirements.sh.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file clirail-1.0.tar.gz.
File metadata
- Download URL: clirail-1.0.tar.gz
- Upload date:
- Size: 28.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b900fe5103bf300c55e7c5f7398c8cbc5c5029eef92d7fd51b87d2932559764
|
|
| MD5 |
d8273dcf6fa52dad2f8eec71a4ca9b93
|
|
| BLAKE2b-256 |
10e3b69bb7a515cb0966ef418306678c36469bb123da15f47acdf67c674d08fa
|
File details
Details for the file clirail-1.0-py3-none-any.whl.
File metadata
- Download URL: clirail-1.0-py3-none-any.whl
- Upload date:
- Size: 26.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aac1ea5a1a18ce9fe852b29742acec6e99ee8cfcc1a3a3324828c9638cc5ff34
|
|
| MD5 |
761387f0a9c7a0ac18df373d1f64e67e
|
|
| BLAKE2b-256 |
90085ed1f899cceebea75fb65d947426dd22aedf5db4b6c636e7db915deb2bed
|