Utilities#

Code reference#

Utilities.

Submodules

ckan

Utilities for interacting with CKAN instances via their Action API.

click

Utilities for click.

docutils

Utilities for docutils.

google

hooks

Plug-in hooks to be implemented by submodules and other packages.

jinja2

Utilities for jinja2.

libreoffice

Utilities for LibreOffice.

pluggy

Utilities for pluggy.

pooch

Utilities for pooch.

pycountry

Utilities for working with pycountry_.

sdmx

Utilities for sdmx.

Functions

list_urns()

List all URNs of SDMX artefacts provided by tranport_data and plugins.

uline(text[, char])

Underline text with char.

url_hostname(value)

If value contains a URL, return its hostname.

transport_data.util.list_urns() list[str][source]#

List all URNs of SDMX artefacts provided by tranport_data and plugins.

transport_data.util.uline(text: str, char: str = '=') str[source]#

Underline text with char.

transport_data.util.url_hostname(value: str) str[source]#

If value contains a URL, return its hostname.