Commit graph

9 commits

Author SHA1 Message Date
8d4d2038d3 Typing support and sqlite3.Row!
Typing will be handy in further development, as well will i settle down
to sqlite3.Row. Fetchall() returns now a list(grr) with
dict-imitating/sumating objects, which you can call keys() on and will
return them, what we now already use for Backups, which comes handy.

Also Typing gives the ability to let the code even more documentate
itself. It's planned to use all over the place but i've to read myself
into it yet more to get started on that one.
It's a step in the right direction!
2019-10-25 03:03:47 +02:00
b7ffedfba2 Rename SQLitedb to SQLiteDB 2019-10-23 18:13:42 +02:00
91b5e6ae7b Positional fix: OperationalError before general 2019-10-17 15:27:38 +02:00
d517db3b2a On Operational Exceptions we create the table and try again
this could potentially result in a endless recursion when the
table isnt writeable and a lot other funny things happen
but normally and in 99,999999999% of our cases this
is totally fine
2019-10-16 20:54:49 +02:00
cd8fe5fed0 commit on querys 2019-10-16 14:33:17 +02:00
43c7636920 Make PEP8 finally happy 2019-10-13 21:12:17 +02:00
290e72f159 Add various documentation to the System class and sqlitedb-Class...
... which are all written in rst-format, which sphynx understands and has
an own formal specification in  http://docutils.sourceforge.net/rst.html
2019-10-13 21:09:24 +02:00
d413662b36 Adds ability to delete users in db as well as on the system + type hints..
.... in function names for further documentation.
2019-10-13 18:49:38 +02:00
8ed215e89b Create sqlite3 connector class to handle all the errors and quirks for us 2019-10-12 11:38:43 +02:00