Skip to main content

A python application that generates GTFS (Google Transit Feed Specification) files for Translink (N.I.) transport routes. This is a basic proof of concept that derives its data from scraping the Translink web site. The only coordinate data available is for Belfast Citybus stops and so other services such as Ulsterbus and NIRail aren’t supported at the moment.

Requirements

  • requests

  • python-geohash

  • svn+http://googletransitdatafeed.googlecode.com/svn/trunk/python/

Install

(Tested on linux only).

Install from pypi with easy_install:

$ easy_install gtfsni

or pip:

$ pip install gtfsni

Scripts

This this will install a number of scripts, some of which are from the googletransitdatafeed library. The gtfsni-specific scripts are:

  • gtfs_generate

  • gtfs_validate [GTFS_ZIP_FILE]

  • gtfs_view [GTFS_ZIP_FILE]

Running gtfs_generate will create a zipped file (google_transit.zip) in a data/dist subdirectory of the current working directory.

Release files for gtfsni 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gtfsni 0.0.4
File Size Uploaded
gtfsni-0.0.4.tar.gz 59.8 kB Details

Release files / gtfsni-0.0.4.tar.gz

Download URL gtfsni-0.0.4.tar.gz
Size 59.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8458eee8c147e30f0d41abb624638ae56e5bb3a2a9d383e128672e335f20d89e
BLAKE2b-256 checksum
How to use checksums
4d1e63c08836f0b69e5dc0c9c3c6b96b5f7b3a472947aec06235463b52bc60c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.4 This release

1 release file

0.0.3

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page