Module Import alias Import alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias ClassDef bases NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore ListLoad Str Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults ListLoad body Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd ListLoad Str NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad Call NameLoad NameLoad Str attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad Str ListLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str body Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Str ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Str ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr ListLoad Str Str ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str With Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str Str ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr ListLoad Str Str ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str With Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str With Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str With Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str ListLoad Str Str decorator_list decorator_list
N/A N/A sys N/A six N/A N/A mock patch N/A N/A N/A ImportError N/A unittest.mock patch csvkit.utilities.in2csv In2CSV launch_new_instance tests.utils CSVKitTestCase EmptyFileTests stdin_as_string TestIn2CSV N/A CSVKitTestCase EmptyFileTests N/A N/A Utility In2CSV N/A default_args N/A -f csv assertConverted N/A N/A self input_format input_filename output_filename additional_args N/A N/A N/A N/A output N/A N/A self get_output N/A N/A -f input_format input_filename additional_args N/A N/A N/A self assertEqual output N/A N/A N/A open output_filename r read N/A test_launch_new_instance N/A N/A self N/A N/A N/A N/A N/A patch object sys argv N/A N/A N/A N/A N/A self Utility __name__ lower examples/dummy.csv N/A N/A N/A launch_new_instance N/A test_convert_csv N/A N/A self N/A N/A N/A N/A N/A self assertConverted csv examples/testfixed_converted.csv examples/testfixed_converted.csv N/A test_convert_dbf N/A N/A self N/A N/A N/A N/A N/A self assertConverted dbf examples/testdbf.dbf examples/testdbf_converted.csv N/A test_convert_json N/A N/A self N/A N/A N/A N/A N/A self assertConverted json examples/testjson.json examples/testjson_converted.csv N/A test_convert_geojson N/A N/A self N/A N/A N/A N/A N/A self assertConverted geojson examples/test_geojson.json examples/test_geojson.csv N/A test_convert_ndjson N/A N/A self N/A N/A N/A N/A N/A self assertConverted ndjson examples/testjson_multiline.json examples/testjson_multiline_converted.csv N/A test_convert_nested_json N/A N/A self N/A N/A N/A N/A N/A self assertConverted json examples/testjson_nested.json examples/testjson_nested_converted.csv N/A test_convert_xls N/A N/A self N/A N/A N/A N/A N/A self assertConverted xls examples/test.xls examples/testxls_converted.csv N/A test_convert_xls_with_sheet N/A N/A self N/A N/A N/A N/A N/A self assertConverted xls examples/sheets.xls examples/testxls_converted.csv N/A --sheet data N/A test_convert_xlsx N/A N/A self N/A N/A N/A N/A N/A self assertConverted xlsx examples/test.xlsx examples/testxlsx_converted.csv N/A test_convert_xlsx_with_sheet N/A N/A self N/A N/A N/A N/A N/A self assertConverted xlsx examples/sheets.xlsx examples/testxlsx_converted.csv N/A --sheet data N/A test_csv_no_headers N/A N/A self N/A N/A N/A N/A N/A self assertLines N/A --no-header-row examples/no_header_row.csv N/A a,b,c True,2,3 N/A test_csv_datetime_inference N/A N/A self N/A N/A N/A input_file N/A N/A six StringIO a
2015-01-01T00:00:00Z N/A N/A stdin_as_string input_file N/A N/A N/A N/A self assertLines N/A -f csv N/A a 2015-01-01T00:00:00+00:00 N/A test_csv_no_inference N/A N/A self N/A N/A N/A N/A N/A self assertLines N/A --no-inference examples/dummy.csv N/A a,b,c 1,2,3 N/A test_geojson_no_inference N/A N/A self N/A N/A N/A input_file N/A N/A six StringIO {"a": 1, "b": 2, "type": "FeatureCollection", "features": [{"geometry": {}, "properties": {"a": 1, "b": 2, "c": 3}}]} N/A N/A stdin_as_string input_file N/A N/A N/A N/A self assertLines N/A --no-inference -f geojson N/A id,a,b,c,geojson ,1,2,3,{} N/A test_json_no_inference N/A N/A self N/A N/A N/A input_file N/A N/A six StringIO [{"a": 1, "b": 2, "c": 3}] N/A N/A stdin_as_string input_file N/A N/A N/A N/A self assertLines N/A --no-inference -f json N/A a,b,c 1,2,3 N/A test_ndjson_no_inference N/A N/A self N/A N/A N/A input_file N/A N/A six StringIO {"a": 1, "b": 2, "c": 3} N/A N/A stdin_as_string input_file N/A N/A N/A N/A self assertLines N/A --no-inference -f ndjson N/A a,b,c 1,2,3 N/A N/A