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

Metadata

Release files for anki 26.9.4

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.4
File Actions
anki-26.9.4-cp310-abi3-win_arm64.whl CPython 3.10 abi3 Windows ARM64 Details for anki-26.9.4-cp310-abi3-win_arm64.whl
anki-26.9.4-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for anki-26.9.4-cp310-abi3-win_amd64.whl
anki-26.9.4-cp310-abi3-manylinux_2_35_x86_64.whl CPython 3.10 abi3 Linux glibc 2.35+ x86-64 Details for anki-26.9.4-cp310-abi3-manylinux_2_35_x86_64.whl
anki-26.9.4-cp310-abi3-manylinux_2_35_aarch64.whl CPython 3.10 abi3 Linux glibc 2.35+ ARM64 Details for anki-26.9.4-cp310-abi3-manylinux_2_35_aarch64.whl
anki-26.9.4-cp310-abi3-macosx_12_0_x86_64.whl CPython 3.10 abi3 macOS 12.0+ x86-64 Details for anki-26.9.4-cp310-abi3-macosx_12_0_x86_64.whl
anki-26.9.4-cp310-abi3-macosx_12_0_arm64.whl CPython 3.10 abi3 macOS 12.0+ ARM64 Details for anki-26.9.4-cp310-abi3-macosx_12_0_arm64.whl

Total release size: 58.6 MB

Release files / anki-26.9.4-cp310-abi3-win_arm64.whl

Download URL anki-26.9.4-cp310-abi3-win_arm64.whl
Size 9.0 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
3bee099cb00308abb31b6045b12a16427d0df23a96883fae4600b30ddbc3ebd2
BLAKE2b-256 checksum
How to use checksums
b0ab0fb133a2d39bd875493eb9649ec101f0eb32637113fad24a5c9202929c4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 4, 2026.

Transparency log

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

Download URL anki-26.9.4-cp310-abi3-win_amd64.whl
Size 9.5 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
01adec8b3a0faa29e7258f829ae4b1b2f7f3bcc580866797fa3294cce6171390
BLAKE2b-256 checksum
How to use checksums
d1619de9c9609c21359561791a31397a3cd00e90210ee97755a7c807656e0a7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 4, 2026.

Transparency log

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

Download URL anki-26.9.4-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
67950105a13fe9894fe424eb799afe01b2a1762f402bf877aaa5b3cb879ec8cc
BLAKE2b-256 checksum
How to use checksums
a82ffa6729c444057645049f4c6bc2457f25d8c06895075cf73dd53825a579c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 4, 2026.

Transparency log

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

Download URL anki-26.9.4-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
52d319123a06d831fbc47cccfba087d75e00dc2e7eb4176c19a2901c525aad9e
BLAKE2b-256 checksum
How to use checksums
1fdb2b9b5c20947ad88ef56be9594406d31d5c6aaa73b49e82861af1da21f592
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 4, 2026.

Transparency log

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

Download URL anki-26.9.4-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
37a2150d3bcd11622fef279d680d97363f69ec3a7e8b64d0bdd52076d1f57ba3
BLAKE2b-256 checksum
How to use checksums
0889e9968c538b542af5f72ade4232f9d27d6919c291677b3c3d1ae9b8c9dada
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 4, 2026.

Transparency log

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

Download URL anki-26.9.4-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
4e9dd1e37471b35dff96e44837ea3ef26832d64d2e6079414a28f9f29adff4c8
BLAKE2b-256 checksum
How to use checksums
fb4c02a63b5f23f591bace4575c23634929651e9608108b4de56d92f9f543b82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 4, 2026.

Transparency log

Security for anki 26.9.4

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.

Select from 6 files

Attestation for anki-26.9.4-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 Nov 4, 2026.

Transparency log

A 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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

26.9.4 This release

6 release files Full provenance

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