bi_etl.utility package
Subpackages
Submodules
- bi_etl.utility.ask module
- bi_etl.utility.bcp_helpers module
- bi_etl.utility.case_insentive_set module
- bi_etl.utility.copy_table_data module
- bi_etl.utility.line_counter module
- bi_etl.utility.logging_helpers module
- bi_etl.utility.package_root module
- bi_etl.utility.run_sql_script module
- bi_etl.utility.ssh_forward module
Module contents
Created on Nov 18, 2014
@author: Derek Wood
- bi_etl.utility.dict_to_str(obj, depth=0, **kwargs)[source]
Parameters: obj is the object to convert to a string format
entry_name is the main title to put at the top (default blank)
depth is the starting depth (default 0)
indent_per_level is the number of spaces to indent per depth level (default 2)
depth_limit is the limit on how many levels deep to recurse (default no limit)
item_limit is the limit on how many items in a given container to output (default no limit)
show_type is a boolean indicating if the type of each entry should be included (default True)
show_list_item_number is a boolean indicating if the sequence number should be included for list entries (default True)
type_formats is a dictionary mapping types to print format specifiers