Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.11b1

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

Total release size: 59.7 MB

Release files / anki-26.11b1-cp310-abi3-win_arm64.whl

Download URL anki-26.11b1-cp310-abi3-win_arm64.whl
Size 9.1 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
0535fa00ec7495ce2ea0c79c8d4854a51199eaa369e44f67b2d5dda522ec0e78
BLAKE2b-256 checksum
How to use checksums
f4d3cc2e9666b3ae74bcdc5351b4624ac52a3c3a590cb2afbf09b7827d8e4f77
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 12, 2026.

Transparency log

Release files / anki-26.11b1-cp310-abi3-win_amd64.whl

Download URL anki-26.11b1-cp310-abi3-win_amd64.whl
Size 9.7 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
92552e5f8e545283e9bc93cf72b0f2b60b8dae4bda80aee2c9f0cb295a377f4d
BLAKE2b-256 checksum
How to use checksums
6581bea2f981e39dd37dcb765dd1fc2070927666b43cacd7393fc46b8f2e8deb
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 12, 2026.

Transparency log

Release files / anki-26.11b1-cp310-abi3-manylinux_2_35_x86_64.whl

Download URL anki-26.11b1-cp310-abi3-manylinux_2_35_x86_64.whl
Size 11.0 MB
Tags CPython 3.10 Linux glibc 2.35+ x86-64 abi3
SHA-256 checksum
How to use checksums
979a012eac67909aaef3c2ea17ae0392d3605e482076089f93c278521351ef19
BLAKE2b-256 checksum
How to use checksums
3908dded00e449f582a075c42ed9aa527d65be6cc36f87655d11a09e72e726e8
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 12, 2026.

Transparency log

Release files / anki-26.11b1-cp310-abi3-manylinux_2_35_aarch64.whl

Download URL anki-26.11b1-cp310-abi3-manylinux_2_35_aarch64.whl
Size 10.7 MB
Tags CPython 3.10 Linux glibc 2.35+ ARM64 abi3
SHA-256 checksum
How to use checksums
931e9511ffa56454159a3c59b51b939609beb4c94d0504052966ea527ecb69ac
BLAKE2b-256 checksum
How to use checksums
182edc8b61d63e9a3156ee1cee74c69688380235711d92644ccefbc23e414630
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 12, 2026.

Transparency log

Release files / anki-26.11b1-cp310-abi3-macosx_12_0_x86_64.whl

Download URL anki-26.11b1-cp310-abi3-macosx_12_0_x86_64.whl
Size 9.8 MB
Tags CPython 3.10 abi3 macOS 12.0+ x86-64
SHA-256 checksum
How to use checksums
b5b30d77c7664ececb66a08c311ea67c64cdcdd72033e03e61f19a91e0174f8c
BLAKE2b-256 checksum
How to use checksums
360c2a67f81d79686b5cf28b656844efebb572748bee75a4bfada9e92ede7fd0
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 12, 2026.

Transparency log

Release files / anki-26.11b1-cp310-abi3-macosx_12_0_arm64.whl

Download URL anki-26.11b1-cp310-abi3-macosx_12_0_arm64.whl
Size 9.4 MB
Tags CPython 3.10 abi3 macOS 12.0+ ARM64
SHA-256 checksum
How to use checksums
633888ce8d02876160e941408cfcd9e620ef7f77377d009e903cc91a96f8d16c
BLAKE2b-256 checksum
How to use checksums
9e8c05fd4387391bb7c3f0ec0f93c43305d262255c7c3d590e8250fb0f723f6a
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 12, 2026.

Transparency log

Security for anki 26.11b1

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.11b1-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 12, 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
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