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

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.8b1-cp310-abi3-win_arm64.whl (9.0 MB view details)

Uploaded CPython 3.10+Windows ARM64

anki-26.8b1-cp310-abi3-win_amd64.whl (9.6 MB view details)

Uploaded CPython 3.10+Windows x86-64

anki-26.8b1-cp310-abi3-manylinux_2_35_x86_64.whl (10.9 MB view details)

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

anki-26.8b1-cp310-abi3-manylinux_2_35_aarch64.whl (10.6 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.35+ ARM64

anki-26.8b1-cp310-abi3-macosx_12_0_x86_64.whl (9.8 MB view details)

Uploaded CPython 3.10+macOS 12.0+ x86-64

anki-26.8b1-cp310-abi3-macosx_12_0_arm64.whl (9.3 MB view details)

Uploaded CPython 3.10+macOS 12.0+ ARM64

File details

Details for the file anki-26.8b1-cp310-abi3-win_arm64.whl.

File metadata

  • Download URL: anki-26.8b1-cp310-abi3-win_arm64.whl
  • Upload date:
  • Size: 9.0 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.8b1-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 d4206c59965b1f051ba83be8031990acd959d8e6a3a6de0ba55dfea61e56edf6
MD5 d46e0db59aced53241e7052950c3fb0a
BLAKE2b-256 83fc05e231520ce32c8b7796e26512791ce4c92869e09fd252d6bdeb8c30f142

See more details on using hashes here.

Provenance

The following attestation bundles were made for anki-26.8b1-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.8b1-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: anki-26.8b1-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 9.6 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.8b1-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 a115b47f3667b149d2dee5f6b7b62674102de8f50a1591222f792027f822fd56
MD5 88cb36f3406da3018de816ed2e6fee04
BLAKE2b-256 6c853467cc36c6269b082db476a5941ca6f83defc4401c45214d91262fc9cf49

See more details on using hashes here.

Provenance

The following attestation bundles were made for anki-26.8b1-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.8b1-cp310-abi3-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for anki-26.8b1-cp310-abi3-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 1a0eeea84feedd94f82f29deae7b48981eb13d50464ef13a808b419dc718fe6e
MD5 3c1eb0e41f57eba3ccc662adfa407e87
BLAKE2b-256 118871a6bb33def1669b16e73bd5d26181baff32d0154b00fef7da8098bbc12d

See more details on using hashes here.

Provenance

The following attestation bundles were made for anki-26.8b1-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.8b1-cp310-abi3-manylinux_2_35_aarch64.whl.

File metadata

File hashes

Hashes for anki-26.8b1-cp310-abi3-manylinux_2_35_aarch64.whl
Algorithm Hash digest
SHA256 41223c0554f1be4eeb0f1e3ed5d8890ceaaeba8072ab2af0287313892dc36bff
MD5 d3d699b3b49305e0d9a0b75382b4881f
BLAKE2b-256 7deb3fe555f2e7971f891f58b9e4464fd670aec92bcc93f48f9f9eb0651a7306

See more details on using hashes here.

Provenance

The following attestation bundles were made for anki-26.8b1-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.8b1-cp310-abi3-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for anki-26.8b1-cp310-abi3-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 c902d5dc21e51e9966fbf50765588ad02d27edd16718cac5b073cbefaa0734bc
MD5 bb0136d79ce624cc8169368babf46763
BLAKE2b-256 efe89f066c231006a25ee4821ca49e11c8c158c82bc6de29139a0864a607d0a5

See more details on using hashes here.

Provenance

The following attestation bundles were made for anki-26.8b1-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.8b1-cp310-abi3-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for anki-26.8b1-cp310-abi3-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 3683b44790f22b12a531840755b88a95adf881d7daf4f0f4d816d93269cea5a5
MD5 3fcc93d9615b1e793ad130dc9afd5056
BLAKE2b-256 ad4ada027ab4cbe355195b8d9f3e8e58473773d1c796b7d8d40aba8b97354254

See more details on using hashes here.

Provenance

The following attestation bundles were made for anki-26.8b1-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