Tools for the Transport Data Commons
Project description
Installation
Install from PyPI using e.g.: pip install transport-data
You will likely also want to:
Install the GitHub CLI.
Clone the transport-data/registry repository:
$ tdc config set tdc_registry_local /path/for/local/clone $ tdc registry clone
Usage
Use the tools via the command-line interface (CLI):
$ tdc --help Usage: tdc [OPTIONS] COMMAND [ARGS]... Transport Data Commons tools. Options: --help Show this message and exit. Commands: adb Asian Development Bank (ADB) provider. config Manipulate configuration. estat Eurostat (ESTAT) provider. iamc Demonstrate IAMC structure generation. jrc EU Joint Research Center (JRC) provider. org Information about the TDCI per se. proto TDC prototype debugging. registry Manipulate the registry repo.
Each subcommand has its own –help.
Prototype data
Use:
$ tdc adb fetch --all --go $ tdc adb convert TAS $ tdc jrc fetch --all --go $ tdc jrc convert --all
Development
Install from source:
Clone the repository, e.g. git clone git@github.com:transport-data/tools.git.
In the cloned directory, run pip install .[tests] —this will also install dependencies for development and testing.
Use Pytest: pytest
Code style and practices:
Version as vYY.M.D using the current date.
Use black.
Exchange MaintainableArtefacts between modules.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for transport_data-23.5.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 687c670582917ef7ad8c225b442fbdb3c46bb64d1112ef6b284998ca5fd35f3a |
|
MD5 | 8404d96fb9921ad17eb0a917a249459e |
|
BLAKE2b-256 | b4241189e08385f36c9b762f6b3de06cc85993c72ebfc920e35ea5b603d08fa8 |