Skip to main content

Anki

Build Status

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 .anki2 database
  • 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: anki is the headless library. If you want the full desktop application, install aqt instead, 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

AGPL-3.0-or-later

Release files for anki 26.9.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for anki 26.9.2
File
anki-26.9.2-cp310-abi3-win_arm64.whl CPython 3.10 abi3 Windows ARM64 Details
anki-26.9.2-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details
anki-26.9.2-cp310-abi3-manylinux_2_35_x86_64.whl CPython 3.10 abi3 Linux glibc 2.35+ x86-64 Details
anki-26.9.2-cp310-abi3-manylinux_2_35_aarch64.whl CPython 3.10 abi3 Linux glibc 2.35+ ARM64 Details
anki-26.9.2-cp310-abi3-macosx_12_0_x86_64.whl CPython 3.10 abi3 macOS 12.0+ x86-64 Details
anki-26.9.2-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.2-cp310-abi3-win_arm64.whl

Download URL anki-26.9.2-cp310-abi3-win_arm64.whl
Size 9.0 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
671a892639db1927e3fdd4bfbee5861605c054c83c2301fa70f15a0b86447f02
BLAKE2b-256 checksum
How to use checksums
876c716c5e4cf48e6f161bd640df6b3cfebc4457bf21c31a13ea554809b1f753
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 15, 2026.

Transparency log

Release files / anki-26.9.2-cp310-abi3-win_amd64.whl

Download URL anki-26.9.2-cp310-abi3-win_amd64.whl
Size 9.5 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
644d37401af95b47c20139486b35da0b773c6ea2674c35099eb6334041c09b66
BLAKE2b-256 checksum
How to use checksums
329f11926de8f7e063fd2c04f23e92684bac7c161f82c6b24e9fc78e5618c709
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 15, 2026.

Transparency log

Release files / anki-26.9.2-cp310-abi3-manylinux_2_35_x86_64.whl

Download URL anki-26.9.2-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
63f792964e1a7bd6a9a4f4a0603469587ef1a61c3d2d49ff3eb7812e5b8c1a08
BLAKE2b-256 checksum
How to use checksums
99a1b351db3b5f94764f29cc9813a26dab1e729a5ec0e7bf8bce065bdea79ec4
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 15, 2026.

Transparency log

Release files / anki-26.9.2-cp310-abi3-manylinux_2_35_aarch64.whl

Download URL anki-26.9.2-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
b1ab9a093412593ef10be36ce6bf2309f65ad14c83256fd6e6a68217f932a840
BLAKE2b-256 checksum
How to use checksums
0d1a24a691862dac680a2e787a281127f9d1589138049cf463625ca53848efb3
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 15, 2026.

Transparency log

Release files / anki-26.9.2-cp310-abi3-macosx_12_0_x86_64.whl

Download URL anki-26.9.2-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
18e686a143e60a28e9a7b200d06c673b4ae838caf83a8e6f6983dd007b7741fc
BLAKE2b-256 checksum
How to use checksums
f7b5e0069533f1a3f779519bb905546e0706f5ae4a912a114c520e8ea5d98e3f
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 15, 2026.

Transparency log

Release files / anki-26.9.2-cp310-abi3-macosx_12_0_arm64.whl

Download URL anki-26.9.2-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
a29f9df136dadf047e8fbceb0e2b5d38f203c21b1916f492d0701c8a503f597f
BLAKE2b-256 checksum
How to use checksums
6168f19a0d856ce98709b7069d1816fb6c2dc6748a03d54d023f91eac2276606
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 15, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

26.9.2 This release

6 release files

26.9.1

6 release files

26.9

6 release files

26.8

6 release files

26.5

6 release files

25.9.5

5 release files

25.9.2

5 release files

25.9.1

5 release files

25.9

5 release files

25.7.5

5 release files

25.7.4

5 release files

25.7.3

5 release files

25.7

5 release files

25.2.5

5 release files

25.2.4

5 release files

25.2

5 release files

24.11

5 release files

24.6

5 release files

24.4.1

5 release files

24.4

5 release files

23.12

5 release files

23.10

5 release files

2.1.66

5 release files

2.1.64

5 release files

2.1.63

5 release files

2.1.61

5 release files

2.1.60

5 release files

2.1.59

5 release files

2.1.58

5 release files

2.1.57

5 release files

2.1.55

5 release files

2.1.54

5 release files

2.1.53

5 release files

2.1.52

5 release files

2.1.51

5 release files

2.1.49

3 release files

2.1.48

3 release files

2.1.47

3 release files

2.1.45

3 release files

2.1.44

3 release files

2.1.42

3 release files

2.1.38

3 release files

2.1.37

3 release files

2.1.35

1 release file

2.1.34

1 release file

2.1.33

1 release file

2.1.32

1 release file

2.1.31

1 release file

2.1.30

1 release file

2.1.29

1 release file

2.1.28

1 release file

2.1.26

1 release file

2.1.25

1 release file

2.1.24

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page