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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

anki-26.8b2-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.8b2-cp310-abi3-manylinux_2_35_aarch64.whl (10.6 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.35+ ARM64

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

Uploaded CPython 3.10+macOS 12.0+ x86-64

anki-26.8b2-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.8b2-cp310-abi3-win_arm64.whl.

File metadata

  • Download URL: anki-26.8b2-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.8b2-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 66a5e1264a5ebace202f6a980695f6845d73a268af2bab6580ede6b0d5f429f8
MD5 ebdc8700d1c4b6cb9111ec3e638f7034
BLAKE2b-256 4ea4ef84f049d5f2a3968849386dfe4c7d6978a01040efe8a94d12746c604cc4

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: anki-26.8b2-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.8b2-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 0a712059b549218edfddbef998de681a1c1d2d6cfb7f4cf95ea1797bb450364a
MD5 99b2f7055c7c6655292ef0a076379aca
BLAKE2b-256 10bb326d3d6dc65a19103f82dbba0299671ff6ca8f6d26f2521783402a30b695

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for anki-26.8b2-cp310-abi3-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 57bb891ba4ef9c2cc6e0d96da982905505b67de1f0eb30939e0b420cbd690041
MD5 aef9f025842f7c5c8562e6b7e1266d53
BLAKE2b-256 75c82b787ef98d5b28bffefbdb8d3866345c2256a23ad973bbade90dc25414b0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for anki-26.8b2-cp310-abi3-manylinux_2_35_aarch64.whl
Algorithm Hash digest
SHA256 e7c6c9c7d1f2d5f6a82f3749d558e76c7de3f131e979eb09b8fdacc75129a894
MD5 2d7e2369611a965c4c5a3bdf5b5ea2b1
BLAKE2b-256 1ce587556f5c9bbb9dd31017e884a624b16d57394e1395f00830a3ca1eedef89

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for anki-26.8b2-cp310-abi3-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 42d670f60fbd36f628e568cf7affe42fa156b1de17c1de3eb196f6b6a522810a
MD5 fcabab728a42531b312a485d460f8431
BLAKE2b-256 2fa8ee727462349bc704a357b329f313b4bfad2f5afdd4637706a2e1ea2a2d05

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for anki-26.8b2-cp310-abi3-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 b9fdcddf4e7f950db35895aee597f8c3a6072f05cdd8e722e64b088cb2bc013d
MD5 84ebf9a1fe49ab1d9c6df2807e345ba1
BLAKE2b-256 63eecc5258344278956b65c3e5f2e4a5cbdd6531e63b0725fe069fdf6004a107

See more details on using hashes here.

Provenance

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