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.5b2-cp310-abi3-win_arm64.whl (9.6 MB view details)

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

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

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

Uploaded CPython 3.10+manylinux: glibc 2.35+ ARM64

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

Uploaded CPython 3.10+macOS 12.0+ x86-64

anki-26.5b2-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.5b2-cp310-abi3-win_arm64.whl.

File metadata

  • Download URL: anki-26.5b2-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.12

File hashes

Hashes for anki-26.5b2-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 dc7367b4fe22ad8ec104cc1e4ac045703fa4cceac9a6353d6d6fc0db162403ac
MD5 524a6dad2e52f6c3473e609b00023d90
BLAKE2b-256 b8b44766cea1b5649a91a4e403b992db98e54fbe49b92923ee8b36f424e19bcd

See more details on using hashes here.

Provenance

The following attestation bundles were made for anki-26.5b2-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.5b2-cp310-abi3-win_amd64.whl.

File metadata

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

File hashes

Hashes for anki-26.5b2-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9aa4a2905f2b3076e9e628f1438772358a1e1589c147596eb0e388fd4988ab64
MD5 073416b0a93c16f21dcad665b6bd9685
BLAKE2b-256 7db948addc6c7d7b7503b22c36c5825b716c630a9393362ab149d97cf6aa1514

See more details on using hashes here.

Provenance

The following attestation bundles were made for anki-26.5b2-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.5b2-cp310-abi3-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for anki-26.5b2-cp310-abi3-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 b75d8ddbe97856653c823cc77534ab7ce2b26274e32e994e107e30337912c9c5
MD5 4358cf93c64a6ff58e6e6d91e103788c
BLAKE2b-256 d966fc24422c96170c05c34a03c216fd4bb0549fff685bfac0f35143de6d06b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for anki-26.5b2-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.5b2-cp310-abi3-manylinux_2_35_aarch64.whl.

File metadata

File hashes

Hashes for anki-26.5b2-cp310-abi3-manylinux_2_35_aarch64.whl
Algorithm Hash digest
SHA256 01c5045c9664045a3776812281749cd69b81ba5e8aeff0d4aa1a6b880258ce2a
MD5 aa8d551be2fca6192844ae95029e7e5f
BLAKE2b-256 0a732ab4f4cb2f89e7c1736b1b79adbcfa9962e782ba9225d61b2ff2ca25babf

See more details on using hashes here.

Provenance

The following attestation bundles were made for anki-26.5b2-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.5b2-cp310-abi3-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for anki-26.5b2-cp310-abi3-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 ac70d6247459e678e9578b8572c4ab884668800bb4db411ae2383678691c9342
MD5 f5409c994ddab8366a0ef044c723be46
BLAKE2b-256 ef60de8498e983b00a50ee03d11325d5e3379b4d8db297a3299c70d200377f93

See more details on using hashes here.

Provenance

The following attestation bundles were made for anki-26.5b2-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.5b2-cp310-abi3-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for anki-26.5b2-cp310-abi3-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 a16c13a86eb9054157f744785724850fb607dbc0178f33554c89ae0bf14346d4
MD5 9fdd86483672b13e650f192c83ce5007
BLAKE2b-256 b64acb0938eb96c62c7ab930060765a21cad7f1f62049c8ee37f743422928f41

See more details on using hashes here.

Provenance

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