Skip to main content

focli

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

Metadata

Release files for focli 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for focli 1.0
File Size Uploaded Provenance Actions
focli-1.0.tar.gz 5.9 kB Without provenance Details for focli-1.0.tar.gz

Release files / focli-1.0.tar.gz

Download URL focli-1.0.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c7877158f1afb4d872518886ac4ac47442298d11083bed747531676aa823df1b
BLAKE2b-256 checksum
How to use checksums
490d56f629ceada44d887db779d9030a4ae4a85d4014a767e0292cc760f8377b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for focli 1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page