I have been trying to find an article like http://postgis.net/workshops/postgis-intro/history_tracking.html that explains how I can do the following with a GPKG (ideally in QGIS)
Sync edits made on ...
This seems like it ought to be straightforward:
from osgeo import gdal
gpkg = gdal.OpenEx('path_to_gpk',gdal.OF_VERBOSE_ERROR,allowed_drivers=['GPKG'])
error = gpkg.DeleteLayer(0)
After running this ...