Skip to main content

Python library for Anki, the spaced repetition flashcard program

Project description

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

Project details


Release history Release notifications | RSS feed

This version

26.5

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

anki-26.5-cp310-abi3-win_arm64.whl (9.6 MB view details)

Uploaded CPython 3.10+Windows ARM64

anki-26.5-cp310-abi3-win_amd64.whl (10.3 MB view details)

Uploaded CPython 3.10+Windows x86-64

anki-26.5-cp310-abi3-manylinux_2_35_x86_64.whl (11.5 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.35+ x86-64

anki-26.5-cp310-abi3-manylinux_2_35_aarch64.whl (11.1 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.35+ ARM64

anki-26.5-cp310-abi3-macosx_12_0_x86_64.whl (10.4 MB view details)

Uploaded CPython 3.10+macOS 12.0+ x86-64

anki-26.5-cp310-abi3-macosx_12_0_arm64.whl (9.8 MB view details)

Uploaded CPython 3.10+macOS 12.0+ ARM64

File details

Details for the file anki-26.5-cp310-abi3-win_arm64.whl.

File metadata

  • Download URL: anki-26.5-cp310-abi3-win_arm64.whl
  • Upload date:
  • Size: 9.6 MB
  • Tags: CPython 3.10+, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for anki-26.5-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 49e0eea5731415517cde3a76df1d104ce95ca257518fdbd305b0dd43d484d03f
MD5 d22974bf769efb04512546fd1cda75de
BLAKE2b-256 85df381fb196088945d0c4fd568efa06846d1817ce3512e766d0964ef9aeb8d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for anki-26.5-cp310-abi3-win_arm64.whl:

Publisher: release.yml on ankitects/anki

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file anki-26.5-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: anki-26.5-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 10.3 MB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for anki-26.5-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 245dbd40cb6935d7370e940c97d9748295fb2a7c66d6fe89c0efaaec0e40e3f5
MD5 88d2bc31fb3915d7bf7c4c5c856764db
BLAKE2b-256 a380516e8316dc4d19ad5f0b6107f9491c0174e4af44765216a55781bfc0c530

See more details on using hashes here.

Provenance

The following attestation bundles were made for anki-26.5-cp310-abi3-win_amd64.whl:

Publisher: release.yml on ankitects/anki

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file anki-26.5-cp310-abi3-manylinux_2_35_x86_64.whl.

File metadata

  • Download URL: anki-26.5-cp310-abi3-manylinux_2_35_x86_64.whl
  • Upload date:
  • Size: 11.5 MB
  • Tags: CPython 3.10+, manylinux: glibc 2.35+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for anki-26.5-cp310-abi3-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 33b9a740710380569669ed4f7a78e27197778cfe8d4acb9e1c0a37cd4fe4c8dd
MD5 a35d459e2df219a0480b161ca39acbb9
BLAKE2b-256 9ca205729090f54c5489c79dee9177fb1d99860850d311247256eebb360ec622

See more details on using hashes here.

Provenance

The following attestation bundles were made for anki-26.5-cp310-abi3-manylinux_2_35_x86_64.whl:

Publisher: release.yml on ankitects/anki

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file anki-26.5-cp310-abi3-manylinux_2_35_aarch64.whl.

File metadata

File hashes

Hashes for anki-26.5-cp310-abi3-manylinux_2_35_aarch64.whl
Algorithm Hash digest
SHA256 b4ad219ca8c7b83ada9720146e676e1b8f1083ea60872ef19d26d8f81eab7d57
MD5 f5a30fbe31eaab18cb29d29499f53788
BLAKE2b-256 67ec354efa779cb7293aa5feb460f552ff475063149523afc1099433bbe8e65f

See more details on using hashes here.

Provenance

The following attestation bundles were made for anki-26.5-cp310-abi3-manylinux_2_35_aarch64.whl:

Publisher: release.yml on ankitects/anki

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file anki-26.5-cp310-abi3-macosx_12_0_x86_64.whl.

File metadata

  • Download URL: anki-26.5-cp310-abi3-macosx_12_0_x86_64.whl
  • Upload date:
  • Size: 10.4 MB
  • Tags: CPython 3.10+, macOS 12.0+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for anki-26.5-cp310-abi3-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 a2f0d035fbd016300bdc23e699d986c38497c75bffe36f17c047b5d3db7c6122
MD5 7da4dca0c2c25b1ca131801a29f55340
BLAKE2b-256 5e3b3bd5fd018054d33aec3dbb2403668460d1c2b7d35d25e894be6cd2e0ff8a

See more details on using hashes here.

Provenance

The following attestation bundles were made for anki-26.5-cp310-abi3-macosx_12_0_x86_64.whl:

Publisher: release.yml on ankitects/anki

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file anki-26.5-cp310-abi3-macosx_12_0_arm64.whl.

File metadata

  • Download URL: anki-26.5-cp310-abi3-macosx_12_0_arm64.whl
  • Upload date:
  • Size: 9.8 MB
  • Tags: CPython 3.10+, macOS 12.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for anki-26.5-cp310-abi3-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 f88adc18fbfa6ad721e5a2274cf216a0b78274da2f64ce30ea4da2680f2ba9d9
MD5 3a295855e1b4d3dfbd766aa1f885cc03
BLAKE2b-256 1d9ed61044b5dd8bd0a215ca58ccf524661a9c5bbc443821101314e8d64cf441

See more details on using hashes here.

Provenance

The following attestation bundles were made for anki-26.5-cp310-abi3-macosx_12_0_arm64.whl:

Publisher: release.yml on ankitects/anki

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page