A database wrapper that allows you to use sqlite3 instead anvil's database without changing any app code

What I’m trying to do:
A database wrapper that allows you to use sqlite3 instead anvil’s database without changing any app code.

What I’ve tried and what’s not working:
A wrapper that replaces app_tables functionalities, and a migration script, that can migrate full data in first run of the script.

Github repo: GitHub - voilacs/db_wrapper: A database wrapper for anvil that uses an sqlite3 database instead of the anvil db

Report any errors/bugs that you find and everyone is invited to contribute to add any functions or add any documentation or bug reports.

I wrote this code for my own personal use which is a large generative AI application with a complex structure and several files.

4 Likes