skip to navigation
skip to content

Not Logged In

fahrplan 0.1b2

A SBB/CFF/FFS commandline based timetable client.

Latest Version: 0.2.2

Build status

Goal: Simple access to the sbb timetable service from the commandline with human readable argument parsing.

Relies on the public transport API by opendata.ch: http://transport.opendata.ch/

Installing

To install current development version using pip, issue:

$ sudo pip install -e git://github.com/gwrtheyrn/fahrplan.py.git#egg=fahrplan-dev

Usage

fahrplan --help:

Usage:
 fahrplan [options] arguments

Options:
 -v, --version Show version number
 -i, --info    Verbose output
 -d, --debug   Debug output
 -h, --help    Show this help

Arguments:
 You can use natural language arguments using the following
 keywords in your desired language:
 en -- from, to, via, departure, arrival
 de -- von, nach, via, ab, an
 fr -- de, à, via, départ, arrivée

Examples:
 fahrplan from thun to burgdorf
 fahrplan via bern nach basel von zürich, helvetiaplatz ab 15:35
Screenshot

Testing

To run the tests, run the following command from the fahrplan module folder:

$ python -m tests.test

If you have fabric installed, you can also use the test command:

$ fab test

Sourcecode

The sourcecode is available on Github: https://github.com/gwrtheyrn/fahrplan.py

License

The code is licensed as GPLv3. See LICENSE.md for more details.

 
File Type Py Version Uploaded on Size
fahrplan-0.1b2.tar.gz (md5) Source 2012-06-14 17KB
  • Downloads (All Versions):
  • 14 downloads in the last day
  • 231 downloads in the last week
  • 821 downloads in the last month