mario_addons.plugins package¶
Submodules¶
mario_addons.plugins.read module¶
Functions for read commands.
mario_addons.plugins.walking module¶
Functions for walking a tree.
-
mario_addons.plugins.walking.build_new(old, new)[source]¶ Build a new instance of the old type, with new data.
-
mario_addons.plugins.walking.build_transforming_json_walker(pairs)[source]¶ Build a walker for json-like trees.
Return type: Callable
-
mario_addons.plugins.walking.build_walker(descend, handle_item)[source]¶ Build a walker with specified functions.
Return type: Callable
-
mario_addons.plugins.walking.get_type_object(namespaced_type_name)[source]¶ Turns a qualname into the corresponding object.
Return type: Type
-
mario_addons.plugins.walking.make_func(code, namespace)[source]¶ Make a transformer function.
Return type: Callable
mario_addons.plugins.write module¶
Functions for write commands.
-
mario_addons.plugins.write.write_csv_dicts(rows, header, dialect)[source]¶ Write iterable of dicts to csv.
Return type: str
Module contents¶
A plugin module for mario.