Transport Data Commons tools

The Python package transport-data is available from PyPI:

$ pip install transport-data

It provides tools for working with Transport Data Commons (TDC) data and metadata/structures, and is built and maintained by the Transport Data Commons Initiative (TDCI) and members of the broader TDC community. For more about the TDC, TDCI, and community, see https://transport-data.org.

This documentation is automatically generated from the code available at https://github.com/transport-data/tools. For more on the design, status, and plans for this package, see Development.

General

Data and metadata

The following modules contain code tailored to individual data providers. They handle tasks including:

  • Parse (meta)data or structure information from providers’ idiosyncratic data formats.

  • Provide metadata and structure information that is implicit; not directly available from the provider itself.

Common code and utilities

The following modules contain generic code and utilities usable with (meta)data from multiple providers or sources or created by TDCI.

There are also the following top-level objects:

transport_data.CONFIG = Config(cache_path=PosixPath('/home/docs/.cache/transport-data'), config_path=None, data_path=PosixPath('/home/docs/.local/share/transport-data'), registry_remote_url='https://github.com/transport-data/registry.git', store_map={'TDCI': 'registry', 'TEST': 'local'})[source]

Global configuration.

transport_data.STORE = <transport_data.store.UnionStore object>[source]

Global access to data storage.

Indices and tables