Using Python 3.10.8
is it possible to call sqlite.connect()
using a variable containing the raw db file instead of a file path on disk? I.E. read the db file from an external source into memory and then call connect()
with the variable in memory?
For example:
...
import sqlite3
...
db = s3.get('my-bucket', 'myapp.db')
sqlite.connect(db)