# kerrickstaley/genanki

A Python 3 library for generating Anki decks

Repository: https://github.com/kerrickstaley/genanki
Canonical: https://ross.abutalabs.com/products/genanki
Language: Python
License: MIT
License Family: permissive
Topics: anki-flashcards, anki
Last push: 2024-12-30T20:31:50+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3487, "days_push": 611, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2678, forks 195 (observed 2026-08-28T04:07:09.895492+00:00)

## What it is
A Python 3 library for programmatically generating Anki flashcard decks (.apkg files), including notes, models, decks, and media files. It lets developers build spaced-repetition study material from scripts, data pipelines, or other applications.

## Use cases
- generate anki decks from a csv of vocabulary words
- convert my notes into flashcards programmatically
- build anki apkg files with python
- create flashcards with images and audio media files
- automate flashcard generation from a database
- script the creation of anki models and card templates

## When to choose
- you want to generate Anki decks (.apkg) from Python code or data sources
- you need to batch-create notes with custom models, templates, CSS, or media files
- you're building a tool or pipeline that outputs Anki-importable study material

## When to avoid
- you want to read, edit, or sync existing Anki collections rather than create new decks
- you need a GUI for authoring flashcards
- you're not working in Python or don't need programmatic deck generation

## Facets
- artifact type: library
- maturity: stable
- function: sdk, developer-tools, data-generation
- domain: education, developer-tools
- platform: python, cross-platform
- tags: anki, flashcards, spaced-repetition, apkg, memorization

## Member repositories
- kerrickstaley/genanki (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:09.895492+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:17:58.989441+00:00, confidence not recorded.
  - readme: https://github.com/kerrickstaley/genanki (fetched 2026-08-28T04:07:09.895492+00:00, sha d8cbf196260b)
  - registry_pypi: https://pypi.org/pypi/genanki/json (fetched 2026-08-29T10:00:19.729070+00:00, sha f9b6a3a0589d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
