Python library for loading GTFS data into postgres (with postgis)
Main source for GTFS data is OpenMobilityData (https://database.mobilitydata.org/)
Clone from GitHub
git clone 
Install virtual env
cd gtfs-import
pip install virtualenv --user
python3 -m venv venv
. venv/bin/activate
Install gtfs-import
pip install --editable .
export GTFS_DB=postgresql://[DB_USERNAME]:[DB_PASSWORD]@[DB_HOST]/
Use local postgres on docker
make start_pg
export GTFS_DB=postgresql://postgres:[email protected]/
Collect the sources list and store them in gtfs_feed_import table
gtfs_import load-sources
Download the sources listed in gtfs_feed_import and upload them to postgres
gtfs_import load-data
make build
make start_pg
make run_load_sources
make run_load_data