Anki
Core Python library for Anki, the spaced repetition flashcard program.
About
Anki is a spaced repetition program that helps you remember things efficiently. This package contains the Python layer of Anki's core: it wraps the Rust backend (rslib) and exposes the primary API used by the desktop app and add-ons alike.
It provides access to:
- Collection — open, read, and write an Anki
.anki2database - Notes & Cards — create, update, and query notes and cards
- Decks & Models — manage deck configurations and note types
- Scheduler — the FSRS/SM-2 scheduling algorithms
- Media — media file management and sync
- Import / Export — support for
.apkg,.colpkg, and other formats - Sync — synchronisation with AnkiWeb
- Hooks — event system for extending behaviour
Installation
pip install anki
Note:
ankiis the headless library. If you want the full desktop application, installaqtinstead, which depends on this package.
Add-on development
If you are building an Anki add-on, this is the package that gives you access to the collection and scheduling internals. See the Add-on Guide for full documentation.
Contributing
Want to contribute? Check out the Contribution Guidelines and the Development Guide.
License
Release files for anki 26.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| anki-26.9-cp310-abi3-win_arm64.whl | CPython 3.10 | abi3 | Windows ARM64 | Details |
| anki-26.9-cp310-abi3-win_amd64.whl | CPython 3.10 | abi3 | Windows x86-64 | Details |
| anki-26.9-cp310-abi3-manylinux_2_35_x86_64.whl | CPython 3.10 | abi3 | Linux glibc 2.35+ x86-64 | Details |
| anki-26.9-cp310-abi3-manylinux_2_35_aarch64.whl | CPython 3.10 | abi3 | Linux glibc 2.35+ ARM64 | Details |
| anki-26.9-cp310-abi3-macosx_12_0_x86_64.whl | CPython 3.10 | abi3 | macOS 12.0+ x86-64 | Details |
| anki-26.9-cp310-abi3-macosx_12_0_arm64.whl | CPython 3.10 | abi3 | macOS 12.0+ ARM64 | Details |
Total release size: 58.5 MB
Release files / anki-26.9-cp310-abi3-win_arm64.whl
| Download URL | anki-26.9-cp310-abi3-win_arm64.whl |
|---|---|
| Size | 8.9 MB |
| Tags | CPython 3.10 Windows ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
6b26b8846ac2d68a79121a041fd35b714ef0e05353d5c190f0d07e0d077846de
|
|
BLAKE2b-256 checksum How to use checksums |
ad9fa8aef11840baaa3daf8e456fa21e65f6b0c112921f3bd6d7e9ef982b83ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 14, 2026.
Transparency logRelease files / anki-26.9-cp310-abi3-win_amd64.whl
| Download URL | anki-26.9-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 9.5 MB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
bfde959b942ed2c3b2dd30a167c22d5e6bff68c44677012873b7b3d40a38656d
|
|
BLAKE2b-256 checksum How to use checksums |
9c0296648c5ad5e503dc1a69ddbda1aebace810046c3987b0de2052e81b4084f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 14, 2026.
Transparency logRelease files / anki-26.9-cp310-abi3-manylinux_2_35_x86_64.whl
| Download URL | anki-26.9-cp310-abi3-manylinux_2_35_x86_64.whl |
|---|---|
| Size | 10.8 MB |
| Tags | CPython 3.10 Linux glibc 2.35+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
775371ebb70d769b2eecac4c644ef33eb12273503ff75c7bfadb6bfb85719c73
|
|
BLAKE2b-256 checksum How to use checksums |
2253d5d6a192f1bd28611b182941b7a56a353d477b4f2a17e4080c537ecffb17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 14, 2026.
Transparency logRelease files / anki-26.9-cp310-abi3-manylinux_2_35_aarch64.whl
| Download URL | anki-26.9-cp310-abi3-manylinux_2_35_aarch64.whl |
|---|---|
| Size | 10.5 MB |
| Tags | CPython 3.10 Linux glibc 2.35+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
cb79a26dc26621193150e7ea52de18613ee6ffc79db07bf8415462a36b61b3f5
|
|
BLAKE2b-256 checksum How to use checksums |
f466231b143f9d41bb0024d32ffc3ea53a9be1f111538ae15330568491e31101
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 14, 2026.
Transparency logRelease files / anki-26.9-cp310-abi3-macosx_12_0_x86_64.whl
| Download URL | anki-26.9-cp310-abi3-macosx_12_0_x86_64.whl |
|---|---|
| Size | 9.6 MB |
| Tags | CPython 3.10 abi3 macOS 12.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
afecc8a5ccc818b808aef2d4de8dd071d950435fc59ae0ca8ee9943f6c09b2ba
|
|
BLAKE2b-256 checksum How to use checksums |
b08bd4cbdfdbc994814d13e001ec3c962db8719ba291c0cf8e036d027bee278f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 14, 2026.
Transparency logRelease files / anki-26.9-cp310-abi3-macosx_12_0_arm64.whl
| Download URL | anki-26.9-cp310-abi3-macosx_12_0_arm64.whl |
|---|---|
| Size | 9.2 MB |
| Tags | CPython 3.10 abi3 macOS 12.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
ed60bcdc34dfbbe8fa005d2a67f3961fb7bbd6e2200eb0a660062f4a496c15d6
|
|
BLAKE2b-256 checksum How to use checksums |
db8ec65accf690cf3b3579a7616c320c0ca28aac6ff959e1dffd6d7a3c31cdc9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 14, 2026.
Transparency log