penguinstransittoolbox
Penguin's Transit Toolbox
A python package to manage GTFS feeds.
Modules
edit : A module to edit an existing feed.
gis :
A module to work with stopsand shapes as GIS files.
new : A module to create an empty feed.
schemas : GTFS table schemas definitions.
zip : A module to read GTFS data from a ZIP file.
1""" 2Penguin's Transit Toolbox 3========================= 4 5A python package to manage GTFS feeds. 6 7Modules 8------- 9edit : 10 A module to edit an existing feed. 11 12gis : 13 A module to work with `stops`and `shapes` as GIS files. 14 15new : 16 A module to create an empty feed. 17 18schemas : 19 GTFS table schemas definitions. 20 21zip : 22 A module to read GTFS data from a ZIP file. 23 24""" 25 26from importlib import import_module 27 28__all__ = [ 29 "edit", 30 "gis", 31 "new", 32 "schemas", 33 "zip" 34] 35 36def __getattr__(name): 37 if name in __all__: 38 return import_module(f".{name}", __name__) 39 raise AttributeError(f"module {__name__!r} has no attribute {name!r}")