fahrinfo

about | news | download | screenshot | contact | troubleshooting

Achtung: fahrinfo ist wegen eines updates der fahrinfo-berlin seite momentan "kaputt"

about

fahrinfo zeigt in der konsole fahrplan und verbindungsdaten des verkehrsverbundes berlin brandenburg ("vbb", meistens aber als "bvg" bezeichnet) an.
Wenn du also wissen möchtest wie du in Berlin von A nach B kommst und ein schickes command line tool einem webinterface vorziehst, dann ist fahrinfo genau das richtige für dich ;)
Die Daten werden aus fahrinfo-berlin.de extrahiert.
Geschrieben ist es in python (eine excellente Wahl für sowas).
fahrinfo steht unter der GPL, ist also frei und will es bleiben.
Es gibt ein subversion repository.

Geplant ist übrigens:

news

download

downloads/
just pick the file with the highest version number.

screenshot

ludwig@wumm> fahrinfo -h
usage: fahrinfo [options] station [destination] [time] [day]

"fahrinfo zoo" will print the current timetable for zoo.
"fahrinfo zoo alex 12:30" will find a connection from zoo to alex leaving 12:30
The date format is any german format (with numbers) or YYYY-MM-DD

options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -rstation, --realtime=station
                        print realtime departures for busses
  -aHH:MM, --arrival=HH:MM
                        set arrival time (has priority over starttime)
  -v, --verbose         verbose output == more data! comprende?


ludwig@wumm> fahrinfo tegel 22:22
Warning: ambiguous_input
using first hit in list
Station: U Alt-Tegel
Hour: 22:00
Departures:
22:00 Bus  124 -> Alt-Heiligensee (Berlin) !! täglich !!
22:00 Bus  124 -> Aubertstr. (Berlin) !! 19. Apr bis 27. Mai !!
22:00 Bus  124 -> Aubertstr. (Berlin) !! 28. Mai bis 9. Dez !!
22:00 Bus  125 -> Invalidensiedlung (Berlin) !! 28. Mai bis 3. Dez So; auch 5. Jun, 3. Okt !!
22:00 Bus  125 -> U Osloer Str. !! täglich !!
22:00 Bus  125 -> Invalidensiedlung (Berlin) !! 19. Apr bis 27. Mai !!
22:00 Bus  133 -> U Haselhorst !! täglich !!
22:00 Bus  133 -> Alt-Heiligensee (Berlin) !! täglich !!
22:00 Bus  222 -> Tegelort (Berlin) !! täglich !!
22:02 Bus  222 -> Alt-Lbars (Berlin) !! täglich !!
22:05 U6 -> U Alt-Mariendorf !! Verkehrstage siehe Fahrtinformation !!
22:10 Bus  125 -> Invalidensiedlung (Berlin) !! 29. Mai bis 9. Dez Mo - Sa; nicht 5. Jun, 3. Okt !!
22:15 U6 -> U Alt-Mariendorf !! Verkehrstage siehe Fahrtinformation !!
22:20 Bus  124 -> Alt-Heiligensee (Berlin) !! täglich !!
22:20 Bus  124 -> Aubertstr. (Berlin) !! 19. Apr bis 27. Mai !!
22:20 Bus  124 -> Aubertstr. (Berlin) !! 28. Mai bis 9. Dez !!
22:20 Bus  125 -> Invalidensiedlung (Berlin) !! 28. Mai bis 3. Dez So; auch 5. Jun, 3. Okt !!
22:20 Bus  125 -> U Osloer Str. !! täglich !!
22:20 Bus  125 -> Invalidensiedlung (Berlin) !! 19. Apr bis 27. Mai !!
22:20 Bus  133 -> U Haselhorst !! täglich !!
22:20 Bus  133 -> Alt-Heiligensee (Berlin) !! täglich !!
22:20 Bus  222 -> Tegelort (Berlin) !! täglich !!
22:22 Bus  222 -> Alt-Lbars (Berlin) !! täglich !!
22:25 U6 -> U Alt-Mariendorf !! Verkehrstage siehe Fahrtinformation !!


ludwig@wumm> fahrinfo "dahlem dorf adlershof 15:30 04.02.06
Warning: ambiguous_input
using first hit in list
:----------------:
Von : U Dahlem-Dorf
Nach : S Adlershof
Datum : 24.04.06
Abfahrt : 15:26
Ankunft : 16:06
Dauer : 0:40
Umsteigen : 1
Linien : U3, S45
:----------------:
Von : U Dahlem-Dorf
Nach : S Adlershof
Datum : 24.04.06
Abfahrt : 15:31
Ankunft : 16:13
Dauer : 0:42
Umsteigen : 1
Linien : U3, S46
:----------------:
Von : U Dahlem-Dorf
Nach : S Adlershof
Datum : 24.04.06
Abfahrt : 15:41
Ankunft : 16:22
Dauer : 0:41
Umsteigen : 2
Linien : U3, S47, S8
:----------------:

ludwig@wumm> fahrinfo -r heinrichplatz
Station: heinrichplatz
12:45 M29 -> U Hermannplatz
12:53 M29 -> U Hermannplatz
13:04 M29 -> U Hermannplatz
13:11 M29 -> U Hermannplatz
13:23 M29 -> U Hermannplatz
12:34 M29 -> Roseneck
12:43 M29 -> Roseneck
12:53 M29 -> Roseneck
13:03 M29 -> Roseneck
13:13 M29 -> Roseneck
*) time according to timetable (not realtime)

		

contact

email an: ludwig bei spline punkt de
jabber: gnubert bei jabber punkt ccc punkt de

troubleshooting

Unix/Linux/BSD/OSX/Posix/... Windows

Valid HTML 4.01 Transitional