Skip to main content

TVIC GTFS Manager is a highly specific library for a highly specific problem.

Reason this release was yanked:

Broken Package

Project description

TVIC GTFS Manager

2026, February, Release 1


About

TVIC GTFS Manager is a highly specific library for a highly specific problem. Transport Victoria (formerly PTV) publishes GTFS schedules in a horrid way in which you download a Zip, which contains folders for each mode of transport (operational branches), which contains another Zip file (unhelpfully called google_transit.zip), which contains the various General Transit Feed Specification files, each of which are CSV files with the unhelpful extension of .txt.

This library hopefully solves a lot of pain of dealing with downloading and returning data for a operating branch.

Installation

Pending publishing...

</code></pre>
<h2>Usage</h2>
<p>For the simplest usage:</p>
<pre lang="python"><code>from tvic_gtfs_manager import getGTFS
files = getGTFS()

print(files.keys())
> dict_keys(['pathways', 'transfers', 'agency', 'trips', 'calendar', 'routes', 'shapes', 'levels', 'stops', 'calendar_dates', 'stop_times'])

Or get a bit more nuanced:

from tvic_gtfs_manager import getGTFS
from pathlib import Path as LibPath

getGTFS(
    URL="https://opendata.transport.vic.gov.au/dataset/3f4e292e-7f8a-4ffe-831f-1953be0fe448/resource/fb152201-859f-4882-9206-b768060b50ad/download/gtfs.zip",
    branch=2,
    filepath=LibPath(LibPath.cwd(), "gtfs.zip"),
    )

Dependencies

This library requires pandas and Requests to function.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tvic_gtfs_manager-2026.2.1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tvic_gtfs_manager-2026.2.1-py2.py3-none-any.whl (4.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file tvic_gtfs_manager-2026.2.1.tar.gz.

File metadata

  • Download URL: tvic_gtfs_manager-2026.2.1.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.5

File hashes

Hashes for tvic_gtfs_manager-2026.2.1.tar.gz
Algorithm Hash digest
SHA256 8487fdbd81abb418050078f17a373296c62fba893f72b370eb514a95e75b8233
MD5 3a79112d8f39c03dbb4ecb4f6d63b322
BLAKE2b-256 c75572d8cb7cda0e14244f439d1d820e41b664bf4afb7e2b8e7b00e7dd37c3d8

See more details on using hashes here.

File details

Details for the file tvic_gtfs_manager-2026.2.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for tvic_gtfs_manager-2026.2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c900d9f9e2efb34be74ca261688f708ae605953cb7ba25cdc24784a4705a4673
MD5 248970edef3d9614247d353389d4a6fb
BLAKE2b-256 8d62c8935fb5ced6ac357cee75bc6ab72abb5364e58170845942f004e89fe617

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page