pudl.convert.datasette_metadata_to_yml#

Export metadata to YAML for Datasette.

Module Contents#

Functions#

parse_command_line(argv)

Parse command line arguments. See the -h option.

main()

Convert metadata to YAML.

Attributes#

pudl.convert.datasette_metadata_to_yml.logger[source]#
pudl.convert.datasette_metadata_to_yml.parse_command_line(argv)[source]#

Parse command line arguments. See the -h option.

Parameters:

argv (str) – Command line arguments, including absolute path to output filename.

Returns:

Dictionary of command line arguments and their parsed values.

Return type:

dict

pudl.convert.datasette_metadata_to_yml.main()[source]#

Convert metadata to YAML.