Commit Graph

10 Commits (d2f99d95d06fa7adfca75cf2074fdbf8485b90b0)

Author SHA1 Message Date
Darksider3 d2f99d95d0 sqlitedb.py: Refactor naming
safequery->safe_query, more snake_case all over the place enforced.
5 years ago
Darksider3 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!
5 years ago
Darksider3 b7ffedfba2 Rename SQLitedb to SQLiteDB 5 years ago
Darksider3 91b5e6ae7b Positional fix: OperationalError before general 5 years ago
Darksider3 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
5 years ago
Darksider3 cd8fe5fed0 commit on querys 5 years ago
Darksider3 43c7636920 Make PEP8 finally happy 5 years ago
Darksider3 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
5 years ago
Darksider3 d413662b36 Adds ability to delete users in db as well as on the system + type hints..
.... in function names for further documentation.
5 years ago
Darksider3 8ed215e89b Create sqlite3 connector class to handle all the errors and quirks for us 5 years ago