german-nouns icon indicating copy to clipboard operation
german-nouns copied to clipboard

why not use sqlite?

Open Profpatsch opened this issue 2 years ago • 1 comments

Looking at

https://github.com/gambolputty/german-nouns/blob/1d076f5eeb2bf2bac2974362417382415ea746be/german_nouns/lookup/init.py#L35-L68

this logic screams for just writing import sqlite3 (comes with the python interpreter!), creating a table in memory (or on disk), maybe even with a column index, and writing some simple sql queries.

Profpatsch avatar Jan 22 '22 21:01 Profpatsch

Hello, if you submit a PR, I'll be happy to take a look at it!

gambolputty avatar Jul 15 '22 16:07 gambolputty