Free resources for correct update behaviour (for developers only)

AnkiWeb addon 1873344186

Provides developers an example of managing locked files, such as SQLite databases, by allowing multi-threaded access and releasing them on addon deletion or update.
AI-generated summary; may contain mistakes.

developer-tools

Open on AnkiWeb Find alternatives

AnkiWeb

Votes
0 (πŸ‘ 0 Β· πŸ‘Ž 0)
Updated
2020-03-23
Anki versions
2.1.20~
License
Not found (this does not mean that the addon has no license)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python
Description language
en

Maintenance

abandoned

  • Last update or commit: 2020-03-23 (2414 days before the snapshot).

GitHub

No GitHub repository linked.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.20+2020-03-23
History across monthly snapshots

Loading…

Similar addons

Minimalistic Typing Panel

Adds a customizable floating typing panel and scratchpad for Anki review, letting users type answers or notes before revealing cards, with auto-clear and shortcut forwarding.

review-flowshortcutsappearancequiz

1 votes 21% approval πŸ‘ 1 Β· πŸ‘Ž 0 ⭐ 0 Anki 25.07.1~ Updated 2026-09-07
CSV Import Plus

Imports CSV or pasted text into Anki with auto-detected delimiters and note types, searchable deck selection, quick imports, subdeck creation, tag handling, and session history browsing or deletion.

card-creationimporttaggingdeck-management

8 votes 53% approval πŸ‘ 7 Β· πŸ‘Ž 1 ⭐ 1 Anki 25.09.4~ Updated 2026-10-22

Description

This addon is an example for developers, whose addons lock files in the addon folder (e.g. an sqlite database). These files need to be removed before the addon is deleted / updated. Especially updating caused some tricky-to-fix bugs, but In the end it turned out to be super simple: Allow access to the db from multiple threads (I wasn't aware that this was possible) and release it, whenever an addon is deleted. The addon contains my previous solution attempt, maybe it's helpful for others in the future. If you want to experiment with this addon, install it and then lower its mod number (in meta.json). This causes Anki to update. I added an explanation to __init__py.