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")
--version Show the version of the installed kahoot-to-anki package

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.2.0.tar.gz (8.8 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.2.0-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kahoot_to_anki-1.2.0.tar.gz
  • Upload date:
  • Size: 8.8 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.2.0.tar.gz
Algorithm Hash digest
SHA256 9c3a8ada221869af732bad9f2ecd578c1b68475d3dd46bf1a4e4b97cd8d7c67d
MD5 4c198622e69fa082e631898b68cef488
BLAKE2b-256 a3233378725a3d131fc62710b3a21dc7e94bd3c785953774c683e84f78105113

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kahoot_to_anki-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 10.6 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9d093eee4b2ff396aa2cae42756cb395293d61641a7a61c2a0eef862ace9c567
MD5 f5d8fa97db2d03d46c2cf6bafd09dbbe
BLAKE2b-256 4937e1c5e6e4f052134a019458cae42e64ad21c5a3c02e8e64c1dd258f8c12b3

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