Backend changes and sql convenience

- Added sql files to create and drop db and to feed example data.
- Added bridge to import (and later export) data from a gtfs.GTFS object
  to the database.
- Updated models and migrations to implement the whole GTFS reference.
This commit is contained in:
Johannes Randerath
2024-06-02 20:58:39 +02:00
parent e8d02517af
commit af5a2c862d
26 changed files with 31006 additions and 64 deletions

8
bin/pasteurize Executable file
View File

@@ -0,0 +1,8 @@
#!/home/johannes/code/transport-accessibility/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from libpasteurize.main import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())