ipypublish.convert.config_manager module

ipypublish.convert.config_manager.create_exporter_cls(class_str)[source]

dynamically load export class

ipypublish.convert.config_manager.get_export_config_path(export_key, config_folder_paths=())[source]

we search for a plugin name, which matches the supplied plugin name

ipypublish.convert.config_manager.get_export_extension(export_config_path)[source]

return the file extension of the exporter class

ipypublish.convert.config_manager.iter_all_export_infos(config_folder_paths=(), regex='*.json', get_mime=False)[source]

iterate through all export configuration and yield a dict of info

ipypublish.convert.config_manager.iter_all_export_paths(config_folder_paths=(), regex='*.json')[source]

we iterate through all json files in the supplied plugin_folder_paths, and then in the export_plugins folder

ipypublish.convert.config_manager.load_export_config(export_config_path)[source]

load the export configuration

ipypublish.convert.config_manager.load_template(template_key, template_dict)[source]
ipypublish.convert.config_manager.str_to_jinja(template_str, template_key='jinja_template')[source]