Skip to main content

focli - Decent frontend to Föli stop schedules

Project description

Bookmarkable CLI client to timetables for a city of Turku (Föli) bus stop(s), including time differences to prescheduled times for lines that provide realtime data.

Bookmark once, quickly check all the stop schedules relevant to you any time you need them with only one command.

https://cloud.githubusercontent.com/assets/5235109/13114915/4aac1f02-d59e-11e5-9565-02ce1e104893.gif

Installation

Install via pip for current user (needs ~/.local/bin on $PATH):

pip install --user focli

Globally via pip:

sudo pip install focli

Or:

git clone https://github.com/joohoi/focli.git
cd focli
python setup.py install

Usage

Client parameters:

usage: focli [-h] [-a] [-d] [-l] [-n STOPNAME] [stopnumber [stopnumber ...]]

positional arguments:
  stopnumber   Stop number to show / add / delete

optional arguments:
  -h, --help   show this help message and exit
  -a           Add line to bookmarks
  -d           Remove line from bookmarks
  -v           Verbose output (show destination)
  -l           List saved bookmarks
  -n STOPNAME  Custom name for the stop to bookmark

Eg: add two bus stops to list, the one you use to get to work from home, and other the other way around:

focli -n "Home" -a 157
focli -n "Work" -a T34

after bookmarking, you can get the schedules for both of the stops simultanously every time you run:

focli

or:

focli -v

without arguments.

Features

  • Displays realtime data if available for the stop
  • Shows the schedule for the current hour
  • Color coding for delayed lines
  • Displays as many stop schedules side by side as the active terminal can fit
  • Add / delete / list bookmarks
  • Option to show destination (disabled by default to avoid cluttering)

Changelog

  • 1.0 - Initial release

TODO

  • Exclude certain lines from the output, useful for stops with heavy traffic

Project details


Release history Release notifications

This version
History Node

1.0

History Node

0.9

History Node

0.8

History Node

0.7

History Node

0.6

History Node

0.5

History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
focli-1.0.tar.gz (5.9 kB) Copy SHA256 hash SHA256 Source None Feb 17, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page