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
Metadata
Release files for anki 26.9.3
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.3-cp310-abi3-win_arm64.whl | CPython 3.10 | abi3 | Windows ARM64 | Details |
| anki-26.9.3-cp310-abi3-win_amd64.whl | CPython 3.10 | abi3 | Windows x86-64 | Details |
| anki-26.9.3-cp310-abi3-manylinux_2_35_x86_64.whl | CPython 3.10 | abi3 | Linux glibc 2.35+ x86-64 | Details |
| anki-26.9.3-cp310-abi3-manylinux_2_35_aarch64.whl | CPython 3.10 | abi3 | Linux glibc 2.35+ ARM64 | Details |
| anki-26.9.3-cp310-abi3-macosx_12_0_x86_64.whl | CPython 3.10 | abi3 | macOS 12.0+ x86-64 | Details |
| anki-26.9.3-cp310-abi3-macosx_12_0_arm64.whl | CPython 3.10 | abi3 | macOS 12.0+ ARM64 | Details |
Total release size: 58.6 MB
Release files / anki-26.9.3-cp310-abi3-win_arm64.whl
| Download URL | anki-26.9.3-cp310-abi3-win_arm64.whl |
|---|---|
| Size | 9.0 MB |
| Tags | CPython 3.10 Windows ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
7b4cb3b75154f44e603292eccb61af3725dca7f19d7b49d95be7fd0d599097a2
|
|
BLAKE2b-256 checksum How to use checksums |
54892c17441ba2a2840b32ee1070b86dd9d4b6885f4bee687e2bbcf2afc6cb45
|
| 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 23, 2026.
Transparency logRelease files / anki-26.9.3-cp310-abi3-win_amd64.whl
| Download URL | anki-26.9.3-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 9.5 MB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
0ef53cf0da16df057041e412aaad0bf049f036867bb5d8185add1de159099800
|
|
BLAKE2b-256 checksum How to use checksums |
a5f6b5488a1ff13079e3c95e0054c4339daebc29edfd90a673554c8cb3d9be89
|
| 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 23, 2026.
Transparency logRelease files / anki-26.9.3-cp310-abi3-manylinux_2_35_x86_64.whl
| Download URL | anki-26.9.3-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 |
7b3dcb6c9e06e8087ed66bb70f35356e5c60686f51e3bde25f6328433072132f
|
|
BLAKE2b-256 checksum How to use checksums |
e1dc585eee290ff22d3ea0a7067e16aa27bd9d1f4dbf8aee9397255eed8d3376
|
| 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 23, 2026.
Transparency logRelease files / anki-26.9.3-cp310-abi3-manylinux_2_35_aarch64.whl
| Download URL | anki-26.9.3-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 |
d994c996dcb5a619049291d829500f5bb0bbae5fe36058f1d43daadd59b5b804
|
|
BLAKE2b-256 checksum How to use checksums |
363440c929f171cdc7d6d3d9c93e557ee63ba8b64cb99b8b7d102cc7eda88750
|
| 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 23, 2026.
Transparency logRelease files / anki-26.9.3-cp310-abi3-macosx_12_0_x86_64.whl
| Download URL | anki-26.9.3-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 |
a55f3fe495e39aa208982b0bf5f08f0bab13f4a55f4003c7ef83fc3009f7f257
|
|
BLAKE2b-256 checksum How to use checksums |
703225eed96b74a0e10359610dab3eb986b6f80a4db26b3364739813370767a3
|
| 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 23, 2026.
Transparency logRelease files / anki-26.9.3-cp310-abi3-macosx_12_0_arm64.whl
| Download URL | anki-26.9.3-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 |
99e7d706ff21c7feeb81b94c87e5539e91167fec8d4c5da387e17fe010df6062
|
|
BLAKE2b-256 checksum How to use checksums |
c9fb0c80b6973b9febcf1bd39a641b1c4f9810c39d9879272d7e0b92d78240af
|
| 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 23, 2026.
Transparency logSecurity for anki 26.9.3
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.
Full provenance
All 6 files in this release have been uploaded with provenance metadata.
Attestation for anki-26.9.3-cp310-abi3-win_arm64.whl
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 23, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.