ipypublish.port_api.plugin_to_json module¶
a module to convert between the old (Python script) plugin format, and the new (JSON) one
-
ipypublish.port_api.plugin_to_json.
ast_to_json
(item, imported, assignments)[source]¶ recursively convert ast items to json friendly values
-
ipypublish.port_api.plugin_to_json.
convert_config
(config, exporter_class, allow_other)[source]¶ convert config into required exporter format
-
ipypublish.port_api.plugin_to_json.
convert_dict
(dct, imported, assignments)[source]¶ recurse through and replace keys
-
ipypublish.port_api.plugin_to_json.
convert_to_json
(path, outpath=None, ignore_other=False)[source]¶ Set docstring here.