{"id":18141577,"url":"https://github.com/skjolber/gtfs-databinding","last_synced_at":"2025-08-21T23:32:07.910Z","repository":{"id":53867013,"uuid":"187477167","full_name":"skjolber/gtfs-databinding","owner":"skjolber","description":"High-performance reading of zipped GTFS files","archived":false,"fork":false,"pushed_at":"2024-02-09T21:17:30.000Z","size":84567,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-01T17:07:29.163Z","etag":null,"topics":["csv","gtfs","java","parallelization","zip"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skjolber.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":"2019-05-19T12:59:28.000Z","updated_at":"2024-06-10T03:33:33.000Z","dependencies_parsed_at":"2022-08-20T00:41:11.030Z","dependency_job_id":null,"html_url":"https://github.com/skjolber/gtfs-databinding","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skjolber%2Fgtfs-databinding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skjolber%2Fgtfs-databinding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skjolber%2Fgtfs-databinding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skjolber%2Fgtfs-databinding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skjolber","download_url":"https://codeload.github.com/skjolber/gtfs-databinding/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230542073,"owners_count":18242326,"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":["csv","gtfs","java","parallelization","zip"],"created_at":"2024-11-01T17:07:39.260Z","updated_at":"2024-12-20T05:42:23.278Z","avatar_url":"https://github.com/skjolber.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gtfs-databinding\n\nThis library parses a subset of GTFS files from ZIP archives.\n\nProjects using this library will benefit from:\n\n * parallel processing (unzip + parse)\n * high-performance CSV parser\n\nSupported GTFS files are\n\n * agency.txt\n * routes.txt\n * trips.txt (in parallel)\n * stops.txt\n * stop_times.txt (in parallel)\n * feed_info.txt\n * calendar_dates.txt\n * calendar.txt\t\n * transfers.txt\n\nThe project also servers as a complex use-case for the [sesseltjonna-csv](https://github.com/skjolber/sesseltjonna-csv) in combination with [unzip-csv](https://github.com/skjolber/unzip-csv) projects. Notable features:\n\n * Large files are unzipped and split into multiple pieces for multithreaded processing, and\n * intermediate processors are used to store referential relationships (without use of synchronization), then\n * post-processing hooks are used to manage state and resolve referential relationships\n\nBugs, feature suggestions and help requests can be filed with the [issue-tracker].\n \n## Obtain\nThe project is implemented in Java and built using [Maven]. The project is available on the central Maven repository.\n\nExample dependency config:\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.github.skjolber.gtfs-databinding\u003c/groupId\u003e\n    \u003cartifactId\u003egtfs-databinding\u003c/artifactId\u003e\n    \u003cversion\u003e1.0.2\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n# Usage\nUse a builder to parse a GTFS archive:\n\n```java\nGtfsFeed feed = GtfsFeedBuilder.newInstance().withFile(file).build();\n```\n\n## Compatiblity\nThe current implementation is tested against the [OneBusAway GTFS Reference] parser. \n\n## Performance\nTaking advantage of both a dynamically generated CSV databinding and parallelization improves parse time about 4-5 times compared to the reference implementation (which, to be fair, is not the fastest out there).\n\n\n# Get involved\nIf you have any questions, comments or improvement suggestions, please file an issue or submit a pull-request.\n\nFeel free to connect with me on [LinkedIn], see also my [Github page].\n\n## License\n[Apache 2.0]\n\n# History\n - 1.0.2: Bump unzip / CSV library versions\n - 1.0.0: Initial version\n\n[Apache 2.0]: \t\t\t\t\t\t\thttps://www.apache.org/licenses/LICENSE-2.0.html\n[issue-tracker]:\t\t\t\t\t\thttps://github.com/skjolber/gtfs-databinding/issues\n[Maven]:\t\t\t\t\t\t\t\thttps://maven.apache.org/\n[LinkedIn]:\t\t\t\t\t\t\t\thttps://lnkd.in/r7PWDz\n[Github page]:\t\t\t\t\t\t\thttps://skjolber.github.io\n[OneBusAway GTFS Reference]:\t\t\thttps://github.com/OneBusAway/onebusaway-gtfs-modules\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskjolber%2Fgtfs-databinding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskjolber%2Fgtfs-databinding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskjolber%2Fgtfs-databinding/lists"}