Skip to main content

A SBB/CFF/FFS commandline based timetable client.

Project description

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.

Project details


Download files

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

Source Distribution

fahrplan-0.1b2.tar.gz (18.3 kB view details)

Uploaded Source

File details

Details for the file fahrplan-0.1b2.tar.gz.

File metadata

  • Download URL: fahrplan-0.1b2.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for fahrplan-0.1b2.tar.gz
Algorithm Hash digest
SHA256 c1c77cacb7f1465e5c334e5ef65202d92b2500ddb18807f5795532dbaf69c0c3
MD5 02afaa8d7cb1b2059ac18bae8b2bcab8
BLAKE2b-256 9a297dd89e41f7f90968d60352d219a41c0799526109aa7f2a5b456f79226be3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page