-
- On macOS, if you have Homebrew installed, run
brew install sqlite
- On macOS, if you have Homebrew installed, run
-
Install the SQLite ADBC driver:
dbc install sqlite
-
Customize the Python script
main.pyas needed- Change the connection arguments in
db_kwargs- Set
urito the location of the SQLite database file you want to query, or keep it set togames.sqliteto use the database file included with this example
- Set
- If you changed the database file, also change the SQL SELECT statement in
cursor.execute()
- Change the connection arguments in
-
Run the Python script:
uv run main.py