Module Import alias Import alias Import alias Import alias ImportFrom alias Import alias Import alias ImportFrom alias Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr FunctionDef arguments args defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad Str Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assert CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Index Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad Str NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assert CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Index Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad NameLoad Str Str Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad NameLoad Str Str Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad NameLoad Str Call NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list
N/A N/A logging N/A os N/A sqlite3 N/A sys click.testing CliRunner N/A pytest N/A rasterio mbtiles.scripts.cli mbtiles N/A N/A N/A logging basicConfig stream N/A sys stderr level N/A logging DEBUG test_cli_help N/A N/A N/A N/A N/A runner N/A CliRunner N/A result N/A N/A runner invoke mbtiles N/A --help N/A N/A N/A result exit_code 0 N/A N/A Export a dataset to MBTiles (version 1.1) N/A result output N/A test_export_metadata N/A N/A data N/A N/A N/A inputfile N/A str N/A N/A data join RGB.byte.tif N/A outputfile N/A str N/A N/A data join export.mbtiles N/A runner N/A CliRunner N/A result N/A N/A runner invoke mbtiles N/A inputfile outputfile N/A N/A N/A result exit_code 0 N/A conn N/A N/A sqlite3 connect outputfile N/A cur N/A N/A conn cursor N/A N/A N/A cur execute select * from metadata where name == 'name' N/A N/A N/A N/A N/A cur fetchone N/A 1 RGB.byte.tif N/A test_export_metadata_output_opt N/A N/A data N/A N/A N/A inputfile N/A str N/A N/A data join RGB.byte.tif N/A outputfile N/A str N/A N/A data join export.mbtiles N/A runner N/A CliRunner N/A result N/A N/A runner invoke mbtiles N/A inputfile -o outputfile N/A N/A N/A result exit_code 0 N/A conn N/A N/A sqlite3 connect outputfile N/A cur N/A N/A conn cursor N/A N/A N/A cur execute select * from metadata where name == 'name' N/A N/A N/A N/A N/A cur fetchone N/A 1 RGB.byte.tif N/A test_export_tiles N/A N/A data N/A N/A N/A inputfile N/A str N/A N/A data join RGB.byte.tif N/A outputfile N/A str N/A N/A data join export.mbtiles N/A runner N/A CliRunner N/A result N/A N/A runner invoke mbtiles N/A inputfile outputfile N/A N/A N/A result exit_code 0 N/A conn N/A N/A sqlite3 connect outputfile N/A cur N/A N/A conn cursor N/A N/A N/A cur execute select * from tiles N/A N/A N/A len N/A N/A cur fetchall 6 N/A test_export_zoom N/A N/A data N/A N/A N/A inputfile N/A str N/A N/A data join RGB.byte.tif N/A outputfile N/A str N/A N/A data join export.mbtiles N/A runner N/A CliRunner N/A result N/A N/A runner invoke mbtiles N/A inputfile outputfile --zoom-levels 6..7 N/A N/A N/A result exit_code 0 N/A conn N/A N/A sqlite3 connect outputfile N/A cur N/A N/A conn cursor N/A N/A N/A cur execute select * from tiles N/A N/A N/A len N/A N/A cur fetchall 6 N/A test_export_jobs N/A N/A data N/A N/A N/A inputfile N/A str N/A N/A data join RGB.byte.tif N/A outputfile N/A str N/A N/A data join export.mbtiles N/A runner N/A CliRunner N/A result N/A N/A runner invoke mbtiles N/A inputfile outputfile -j 4 N/A N/A N/A result exit_code 0 N/A conn N/A N/A sqlite3 connect outputfile N/A cur N/A N/A conn cursor N/A N/A N/A cur execute select * from tiles N/A N/A N/A len N/A N/A cur fetchall 6 N/A test_export_dump N/A N/A data N/A N/A N/A inputfile N/A str N/A N/A data join RGB.byte.tif N/A outputfile N/A str N/A N/A data join export.mbtiles N/A dumpdir N/A N/A pytest ensuretemp dump N/A runner N/A CliRunner N/A result N/A N/A runner invoke mbtiles N/A inputfile outputfile --image-dump N/A str dumpdir N/A N/A N/A result exit_code 0 N/A N/A N/A len N/A N/A os listdir N/A str dumpdir 6 N/A