pygtfs icon indicating copy to clipboard operation
pygtfs copied to clipboard

A python (2/3) library for GTFS

Results 18 pygtfs issues
Sort by recently updated
recently updated
newest added

I am using the library a lot ..i.e. I have a growing set of end users in Home Assistant As the data is often not (very) good, the logs help...

Source: https://www.data.gouv.fr/fr/datasets/r/47bc8088-6c72-43ad-a959-a5bbdd1aa14f Failure while writing FeedInfo(feed_publisher_name='Palmbus', feed_publisher_url='https://www.palmbus.fr', feed_lang='fr', feed_start_date=None, feed_end_date=None, feed_version=None) feed_info.txt contains indeed no dates. ``` feed_publisher_name,feed_publisher_url,feed_lang,feed_start_date,feed_end_date,feed_version Palmbus,https://www.palmbus.fr,fr,,,

Hi, While importing https://stibmivb.opendatasoft.com/api/explore/v2.1/catalog/datasets/gtfs-files-production/alternative_exports/gtfszip/ I got a unique constraint error on the translation.txt import. The issuer added twice the same trans_id and lang. I found the faulty lines and could...

Hi, I am remodelling the gtfs solution in HomeAssistant and have a use case with a large file from the NL, the sqlite turns into 7Gb. As this dataset does...

Our builds don't exist, we should migrate the matrix of testing to github.

I'm not sure if you're interested in this change of behavior, but it may be valuable to read a GTFS file partially instead of failing due to a single malformed...

At this point, there's little reason to maintain backward compatibility with Python 2. Moving forward, we should take advantage of some things that came with Python 3.

Hi, we're using pygtfs as part of Home Assistant [0.91.2] and have received the following error during setup: ``` File "/usr/local/lib/python3.7/site-packages/pygtfs/gtfs_entities.py", line 74, in in_range float_value = float(value) ValueError: could...

Add TypeError as exception in is_float_none function. Add route type 717 to valid range. 717 is not officially specified, but is used by many as Taxi service.

When agency_id is not set on a route, the import fails. Example feed: https://www.bart.gov/sites/default/files/docs/google_transit_20211001_20220213_v1.zip ``` Traceback (most recent call last): File "/home/travis/virtualenv/python3.9.1/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1779, in _execute_context self.dialect.do_executemany( File "/home/travis/virtualenv/python3.9.1/lib/python3.9/site-packages/sqlalchemy/dialects/postgresql/psycopg2.py", line...