This simple python program converts a raster tiled geographical dataset in spherical Mercator projection (e.g. one generated by the gdal2tiles application) into a single sqlite file with different variants for use by mobile applications that usually prefer this kind of approach for tiled datasets.
The project is aplha and results may be still unusable.
It currently supports the sqlite-based format used by OsmAnd and the mbtiles format used for example by the Trekarta application.