This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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.

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
Release History

Release History

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 Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
focli-1.0.tar.gz (5.9 kB) Copy SHA256 Checksum SHA256 Source Feb 17, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting