{"id":18720041,"url":"https://github.com/geops/gtfsman","last_synced_at":"2025-04-12T14:11:13.180Z","repository":{"id":26756452,"uuid":"30214310","full_name":"geops/gtfsman","owner":"geops","description":"Repository-like tool to manage and update a huge number of GTFS feeds","archived":false,"fork":false,"pushed_at":"2016-11-11T00:04:05.000Z","size":17,"stargazers_count":22,"open_issues_count":0,"forks_count":1,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-03-26T08:47:38.394Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geops.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-02T23:24:08.000Z","updated_at":"2024-07-23T16:02:21.000Z","dependencies_parsed_at":"2022-09-01T19:00:50.969Z","dependency_job_id":null,"html_url":"https://github.com/geops/gtfsman","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geops%2Fgtfsman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geops%2Fgtfsman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geops%2Fgtfsman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geops%2Fgtfsman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geops","download_url":"https://codeload.github.com/geops/gtfsman/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248578880,"owners_count":21127713,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T13:29:11.762Z","updated_at":"2025-04-12T14:11:13.158Z","avatar_url":"https://github.com/geops.png","language":"Python","funding_links":[],"categories":["Producing Data","Uncategorized"],"sub_categories":["GTFS","Uncategorized"],"readme":"# gtfsman\n\nManage and keep up-to-date large numbers of huge GTFS feeds. Holds cache of feed information to avoid parsing large feeds every time a command is run.\n\n## Usage\n```\n$ ./gtfsman.py --help\n```\n## Examples\n### Init\n```\n$ ./gtfsman.py init palermo http://www.comune.palermo.it/gtfs/amat_feed_gtfs.zip\nDownloading http://www.comune.palermo.it/gtfs/amat_feed_gtfs.zip to /var/lib/gtfs/palermo/gtfs.zip (10518 kB)\nExtracting zip file /var/lib/gtfs/palermo/gtfs.zip\nSetting feed url for /var/lib/gtfs/palermo/gtfs.zip to http://www.comune.palermo.it/gtfs/amat_feed_gtfs.zip\nInitialized new feed in /var/lib/gtfs/palermo/gtfs.zip\n```\n### List\n```\n$ ./gtfsman.py list\nmailand                         12/01/2015  09/02/2015      s   u\nfortworth                       01/02/2015  06/06/2015      s   u\ntrentino_city                   12/06/2014  09/06/2015          u\nfivecounties_suntran            01/09/2012  31/12/2015      s   u\nbctransit                       27/01/2014  31/12/2015      s   u\nhartford                        10/11/2014  18/04/2015      s   u\nportugal                        14/12/2014  12/12/2015      s   u\nmatera                          01/09/2014  31/08/2015      s    \nkolumbus                        20/12/2014  27/03/2015      s   u\nsusono                          02/02/2015  02/05/2015      s   u\nsweden                          07/01/2015  14/06/2015      s   u\nomaezaki                        02/02/2015  31/03/2015      s   u\nparis                           15/01/2015  15/07/2015      s    \ncanberra                        01/01/2015  28/02/2015      s   u\nnewjersey_rail                  23/10/2014  20/04/2015      s    \nmilwaukee_county                04/01/2015  08/03/2015      s   u\n```\n### Update\n```\n$ ./gtfsman.py update palermo\nTrying to update \"palermo\"...\nDownloading http://www.comune.palermo.it/gtfs/amat_feed_gtfs.zip to /var/lib/gtfs/palermo/gtfs.zip (10518 kB)\nExtracting zip file /var/lib/gtfs/palermo/gtfs.zip\nUpdated palermo\n```\nor\n```\n$ ./gtfsman.py update-all\n```\n### Feed postprocessing\n```\n$ ./gtfsman.py set-pp palermo \nEnter cmd: echo ***this would postprocess feed {feed_path}\nStoring postprocessing cmd for palermo\n$ ./gtfsman.py update palermo\nTrying to update \"palermo\"...\nDownloading http://www.comune.palermo.it/gtfs/amat_feed_gtfs.zip to /var/lib/gtfs/palermo/gtfs.zip (10518 kB)\nExtracting zip file /var/lib/gtfs/palermo/gtfs.zip\n===========================\nRunning postprocess command\n===========================\n***this would postprocess feed /var/lib/gtfs/palermo\nUpdated palermo\n```\n### Show\n```\n$ ./gtfsman.py show palermo\npalermo\ndata from:       16/09/2014\ndata until:      31/12/2014\nurl:             http://www.comune.palermo.it/gtfs/amat_feed_gtfs.zip\nhas shapes:      Yes\nPostprocess cmd: echo ***this would postprocess feed {feed_path}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeops%2Fgtfsman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeops%2Fgtfsman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeops%2Fgtfsman/lists"}