arbeitsgruppe-digitale-altnordistik / Sammlung-Toole

A new look on Handrit.is data
https://arbeitsgruppe-digitale-altnordistik.github.io/Sammlung-Toole/
MIT License
0 stars 0 forks source link

Decouple our database stuff from sqlite #107

Closed BalduinLandolt closed 2 years ago

BalduinLandolt commented 2 years ago

currently our database.py stuff is directly depending on python's sqlite implementation, which makes it hard to test (because it requires a database to call the functions in there.
To get rid of this coupling, an abstraction layer/interface should be introduced there.

Along with that, I'd also like to split this file into multiple files that each do one thing only.