Metadata-Version: 2.1
Name: irishrail
Version: 0.1.0
Summary: 
Home-page: https://github.com/rougeth/irishrail
Author: Marco Rougeth
Author-email: rougeth@users.noreply.github.com
Requires-Python: >=3.8,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: click (>=8.1.3,<9.0.0)
Requires-Dist: httpx (>=0.23.0,<0.24.0)
Requires-Dist: rich (>=12.4.4,<13.0.0)
Requires-Dist: xmltodict (>=0.13.0,<0.14.0)
Description-Content-Type: text/markdown

# 🚂 irishrail 🇮🇪

<img width="776" alt="🚂🇮🇪(2)" src="https://user-images.githubusercontent.com/431892/173185574-6d01354e-7c25-4a9e-8a1b-61d6bc795f9c.png">

🚉 Irish Rail live updates in your terminal

### Install
```
$ pip install irishrail
```

### Commands
```
❯ irishrail --help
Usage: irishrail [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  live      Train station updates
  stations  List all stations available
```

### Bonus
Use live command with `-f` option to update timetable every couple of seconds:

```
❯ irishrail live -f "grand canal dock" 

                  Grand Canal Dock
              Northbound - Southbound
╔══════════════════╤════════╤═════════════╤════════╗
║ Destination      │ Due    │ Destination │ Due    ║
╟──────────────────┼────────┼─────────────┼────────╢
║ Howth            │ 16 min │ Greystones  │ 13 min ║
║ Grand Canal Dock │ 24 min │ Bray        │ 27 min ║
║ Malahide         │ 32 min │ Hazelhatch  │ 28 min ║
║ Howth            │ 49 min │ Greystones  │ 47 min ║
║ Dublin Connolly  │ 62 min │             │        ║
╚══════════════════╧════════╧═════════════╧════════╝
       Updated at: 2022-06-09 22:54:54.443851
                Press CTRL-C to exit
```

