Code reference¶
CLI for itdp.
$ tdc itdp --help
Traceback (most recent call last):
File "/home/docs/checkouts/readthedocs.org/user_builds/transport-data/envs/stable/bin/tdc", line 3, in <module>
from transport_data.cli import main
File "/home/docs/checkouts/readthedocs.org/user_builds/transport-data/envs/stable/lib/python3.13/site-packages/transport_data/cli/__init__.py", line 38, in <module>
module = import_module(f"transport_data.{name}")
File "/home/docs/.asdf/installs/python/3.13.3/lib/python3.13/importlib/__init__.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/transport-data/envs/stable/lib/python3.13/site-packages/transport_data/org/ckan.py", line 19, in <module>
DEV = Client("https://ckan.tdc.dev.datopian.com", id="dev")
File "/home/docs/checkouts/readthedocs.org/user_builds/transport-data/envs/stable/lib/python3.13/site-packages/transport_data/util/ckan.py", line 228, in __init__
apikey=keyring.get_password("transport-data", f"api-token-{self.id}")
File "/home/docs/checkouts/readthedocs.org/user_builds/transport-data/envs/stable/lib/python3.13/site-packages/keyring/core.py", line 65, in get_password
return get_keyring().get_password(service_name, username)
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/transport-data/envs/stable/lib/python3.13/site-packages/keyring/backends/fail.py", line 28, in get_password
raise NoKeyringError(msg)
keyring.errors.NoKeyringError: No recommended backend was available. Install a recommended 3rd party backend package; or, install the keyrings.alt package if you want to use the non-recommended backends. See https://pypi.org/project/keyring for details.
$ tdc itdp fetch --help
Traceback (most recent call last):
File "/home/docs/checkouts/readthedocs.org/user_builds/transport-data/envs/stable/bin/tdc", line 3, in <module>
from transport_data.cli import main
File "/home/docs/checkouts/readthedocs.org/user_builds/transport-data/envs/stable/lib/python3.13/site-packages/transport_data/cli/__init__.py", line 38, in <module>
module = import_module(f"transport_data.{name}")
File "/home/docs/.asdf/installs/python/3.13.3/lib/python3.13/importlib/__init__.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/transport-data/envs/stable/lib/python3.13/site-packages/transport_data/org/ckan.py", line 19, in <module>
DEV = Client("https://ckan.tdc.dev.datopian.com", id="dev")
File "/home/docs/checkouts/readthedocs.org/user_builds/transport-data/envs/stable/lib/python3.13/site-packages/transport_data/util/ckan.py", line 228, in __init__
apikey=keyring.get_password("transport-data", f"api-token-{self.id}")
File "/home/docs/checkouts/readthedocs.org/user_builds/transport-data/envs/stable/lib/python3.13/site-packages/keyring/core.py", line 65, in get_password
return get_keyring().get_password(service_name, username)
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/transport-data/envs/stable/lib/python3.13/site-packages/keyring/backends/fail.py", line 28, in get_password
raise NoKeyringError(msg)
keyring.errors.NoKeyringError: No recommended backend was available. Install a recommended 3rd party backend package; or, install the keyrings.alt package if you want to use the non-recommended backends. See https://pypi.org/project/keyring for details.