anki/pylib
Damien Elmes 0bb273a0ed replace the old stripHTML() methods with the backend implementation
Python's regex engine performs pathologically on regexes like
'<!--.*?-->' when fed a large string of repeating '<!--' clauses.
Thanks to JaimeSlome / security@huntr.dev for the report; closes #1380.

Solved by switching to the Rust implementation, which does not suffer
from this issue.

entsToText(), minimizeHTML(), and the old regex constants have been
removed; they do not appear to be used by any add-ons.
2021-10-01 23:15:45 +10:00
..
anki replace the old stripHTML() methods with the backend implementation 2021-10-01 23:15:45 +10:00
rsbridge update most rust deps; skip rusqlite 2021-06-25 15:35:25 +10:00
tests replace the old stripHTML() methods with the backend implementation 2021-10-01 23:15:45 +10:00
tools rename workspace 2021-07-10 23:58:53 +10:00
.gitignore symlink generated .py/.pyi into tree to fix Python code completion 2020-12-16 11:36:42 +10:00
.isort.cfg start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
.pylintrc replace the old stripHTML() methods with the backend implementation 2021-10-01 23:15:45 +10:00
BUILD.bazel move proto files into separate py_library in same namespace 2021-07-11 14:51:25 +10:00
mypy.ini support undo of filtered deck build/empty 2021-03-24 12:56:06 +10:00
orjson.bzl Make orjson optional again 2021-01-07 09:44:40 +10:00
protobuf.bzl refactor protobuf handling for split/import 2021-07-10 19:17:05 +10:00
README.md minor doc updates 2020-12-11 22:37:12 +10:00

Anki's Python library code is in anki/.

The Rust/Python extension module is in rsbridge/; it references the library defined in ../rslib.