anki/pylib
Damien Elmes b9251290ca run pyupgrade over codebase [python upgrade required]
This adds Python 3.9 and 3.10 typing syntax to files that import
attributions from __future___. Python 3.9 should be able to cope with
the 3.10 syntax, but Python 3.8 will no longer work.

On Windows/Mac, install the latest Python 3.9 version from python.org.
There are currently no orjson wheels for Python 3.10 on Windows/Mac,
which will break the build unless you have Rust installed separately.

On Linux, modern distros should have Python 3.9 available already. If
you're on an older distro, you'll need to build Python from source first.
2021-10-04 15:05:48 +10:00
..
anki run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
rsbridge bump minimum Python to 3.9 2021-10-04 15:05:15 +10:00
tests run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
tools run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +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 update Python deps 2021-10-02 23:52:23 +10:00
BUILD.bazel move proto files into separate py_library in same namespace 2021-07-11 14:51:25 +10:00
mypy.ini bump minimum Python to 3.9 2021-10-04 15:05:15 +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.