Skip to main content

CLI tool to convert Kahoot quiz reports into Anki flashcards

Project description

kahoot-to-anki

Python MIT License


kahoot-to-anki is a command‑line tool that converts exported Kahoot quiz reports (Excel Files) into Anki flashcard decks (.apkg format).
Designed for educators, students, and any self-learners to easily turn quiz results into effective spaced‑repetition decks.

Installation & Usage

Option 1: Install via pip

pip install kahoot-to-anki

Then run:

kahoot-to-anki --help

Example: Process all Kahoot Exports in the ./exports/ folder and write the flashcard deck and CSV file to ./data/:

kahoot-to-anki --inp "./exports" --out "./data" --csv

Option 2: Run with Docker

# Clone Repository
git clone https://github.com/SimonHRD/kahoot-to-anki.git

# Move into Repository
cd kahoot-to-anki

# Build docker image with the kahoot-to-anki tag
docker build -t kahoot-to-anki .

# Check help command
docker run --rm kahoot-to-anki --help

# Run with local data
docker run --rm -v "$(pwd)/data:/app/data" kahoot-to-anki --out "./data" --csv

On PowerShell:

docker run --rm -v ${PWD}\data:/app/data kahoot-to-anki --out "./data" --csv

CLI Arguments

You can provide either a single Kahoot Excel file or a directory containing multiple .xlsx files as input.
All valid Excel files in the directory will be processed.

Argument Description
-i, --inp Path to the input Excel file or directory (default: ./data)
-o, --out Path to the output directory for the Anki deck (default: ./)
--sheet The Excel Sheet with the raw Kahoot quiz data (default: RawReportData Data)
--csv, --no-csv Enable or disable CSV export of the questions (default: disabled)
-t, --title Title of the generated Anki deck (default: "Kahoot")

Example

An example Kahoot export file is available in data/. The generated deck will be saved as anki.apkg in the specified --out directory (default: ./).

License

MIT — see LICENSE

Project details


Download files

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

Source Distribution

kahoot_to_anki-1.1.0.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

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

kahoot_to_anki-1.1.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file kahoot_to_anki-1.1.0.tar.gz.

File metadata

  • Download URL: kahoot_to_anki-1.1.0.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for kahoot_to_anki-1.1.0.tar.gz
Algorithm Hash digest
SHA256 9fbdd604596f4cfc7d2947cdcdffa95902efbdd7cef9be97d9fb1eedd26bcb80
MD5 dac4ff98ba2e8027d9f5d8f5d1576ad1
BLAKE2b-256 5585305f7bb506660fd25ee461e33b17d099aa5a50aceb42d793b90676699652

See more details on using hashes here.

File details

Details for the file kahoot_to_anki-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: kahoot_to_anki-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for kahoot_to_anki-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 44a3671b1c66ebb1d391beb5e149d04c0a493ecf350e7a88c23605e92cfe0f2a
MD5 0b15cb2cfd8f33af2f95f6abf2d9ffd9
BLAKE2b-256 8679bcef598051764dd83278814776628cb0d7155e92bfac48d81beaea5af151

See more details on using hashes here.

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