Skip to content
This repository has been archived by the owner on Feb 24, 2022. It is now read-only.
/ gtfs Public archive

General Transit Feed Specification (GTFS) Python Library.

License

Notifications You must be signed in to change notification settings

r-pufky/gtfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gtfs

Python GTFS Skeleton Implementation.

This is a skeleton library that provides Python classes for use with the General Transit Feed Specification (GTFS). This is not a complete implementation, and only features which are used have been implemented.

Classes follow the General Transit Feed Specification (GTFS) unless otherwise noted.

Python 2.X and 3.X Support

Compatible libraries for both 2.X and 3.X python are in respective directories Import/use the right directory for the respective version of Python you are using.

Requirements

This library requires the use of the pytz library. Install the library with

pip install pytz

Then ensure this library is in your project or Python path.

Usage

import pytz
from gtfs import sound_transit
transit = sound_transit.SoundTransitStop('agency', 'stop', 'api key')
transit.GetNextStops('A Line')

About

General Transit Feed Specification (GTFS) Python Library.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages