Anki/pylib/anki
Damien Elmes b876d97770 use (or)json for DB bridge
Some initial testing with orjson indicates performance varies from
slightly better than pysqlite to about 2x slower depending on the type
of query.

Performance could be improved by building the Python list in rspy
instead of sending back json that needs to be decoded, but it may make
more sense to rewrite the hotspots in Rust instead. More testing is
required in any case.
2020-03-20 21:15:23 +10:00
..
importing use total_changes() sqlite func 2020-03-20 21:15:23 +10:00
.gitignore add buildhash to rspy and aqt, and check all three modules match 2020-01-03 15:15:18 +10:00
__init__.py bump minimum python version from 3.6 to 3.7 2020-01-07 18:34:36 +10:00
cards.py add col.weakref() and fix more reference cycles in pylib 2020-03-05 09:47:47 +10:00
collection.py use (or)json for DB bridge 2020-03-20 21:15:23 +10:00
consts.py add switch in prefs for new timezone handling code; bump sync version 2020-03-10 17:50:18 +10:00
db.py Monkeytype pylib/anki/db.py 2020-02-27 00:07:19 -05:00
dbproxy.py use (or)json for DB bridge 2020-03-20 21:15:23 +10:00
decks.py add col.weakref() and fix more reference cycles in pylib 2020-03-05 09:47:47 +10:00
errors.py Monkeytype pylib/anki/errors.py 2020-02-27 00:07:19 -05:00
exporting.py add col.weakref() and fix more reference cycles in pylib 2020-03-05 09:47:47 +10:00
find.py add col.weakref() and fix more reference cycles in pylib 2020-03-05 09:47:47 +10:00
hooks.py hooks for limit new/rev for a single deck 2020-03-04 16:11:13 +01:00
httpclient.py AnkiRequestsClient -> HttpClient 2020-01-19 11:33:27 +10:00
lang.py Spanish is 'es' on disk 2020-03-11 14:53:19 +10:00
latex.py Monkeytype pylib/anki/latex.py 2020-02-27 00:07:19 -05:00
media.py add col.weakref() and fix more reference cycles in pylib 2020-03-05 09:47:47 +10:00
models.py add col.weakref() and fix more reference cycles in pylib 2020-03-05 09:47:47 +10:00
notes.py add col.weakref() and fix more reference cycles in pylib 2020-03-05 09:47:47 +10:00
py.typed mark anki and aqt modules as having typing info 2020-01-13 13:03:37 +10:00
pybackend.py use 3.7 annotations 2020-01-07 18:43:20 +10:00
rsbackend.py use (or)json for DB bridge 2020-03-20 21:15:23 +10:00
sched.py drop named sql arguments 2020-03-20 21:15:23 +10:00
schedv2.py tweak db type hints 2020-03-20 21:15:23 +10:00
sound.py support speed control in tts tags 2020-01-26 14:31:07 +10:00
stats.py drop named sql arguments 2020-03-20 21:15:23 +10:00
statsbg.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
stdmodels.py Monkeytype pylib/anki/stdmodels.py 2020-02-27 00:07:19 -05:00
storage.py initial work on DB handling in Rust 2020-03-20 21:15:23 +10:00
sync.py tweak db type hints 2020-03-20 21:15:23 +10:00
tags.py drop named sql arguments 2020-03-20 21:15:23 +10:00
template.py Monkeytype pylib/anki/template.py 2020-02-27 00:07:19 -05:00
template_legacy.py comment out the unused legacy code 2020-01-17 10:51:36 +10:00
types.py connect media sync progress to Python, add a progress dialog 2020-02-17 08:40:16 +10:00
utils.py clone db.py into dbproxy.py 2020-03-20 21:15:23 +10:00