Skip to main content

Kahoot_CLI

A python library for interacting with any kahoot quiz, as a participant!

Features:

  • Joining a game
  • Reactions
  • Avatars
  • Answering single choice questions
  • Answering multiple choice questions
  • Answering True or False questions
  • Displaying points
  • Displaying ranking
  • Finishing a game
  • Error handling (this name is taken, pin is invalid, kicked out, etc.)

Why would anyone need this, since this just uses Selenium?

Kahoot-CLI is designed in mind of devices that can't show a browser tab, like handheld devices. You can also adapt the UI to your liking.

[!Note] This uses the Chrome webdriver, that has been trimmed down to use around 256mb of ram. I have not tested if it works with other browsers, or what happens if you don't have chrome installed.

Usage

Kahoot_CLI has 2 modes, CLI and Module.

CLI

To use the terminal mode, use:

py -m kahoot_cli

You'll be prompted to input the session pin and your username, and you'll be in the session! See your name on the screen?

Module

To import this as a module, you can use:

from kahoot_cli import *

[!Note] Yes, I know this isn't the best way to do it, but I haven't found a way that imports everything, that's not this.

For documentation, check out the wiki!

Requirements

Metadata

Release files for kahoot-cli 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kahoot-cli 1.0.2
File Size Uploaded
kahoot_cli-1.0.2.tar.gz 25.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kahoot-cli 1.0.2
File Interpreter ABI Platform
kahoot_cli-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 51.1 kB

Release files / kahoot_cli-1.0.2.tar.gz

Download URL kahoot_cli-1.0.2.tar.gz
Size 25.5 kB
Tags Source
SHA-256 checksum
How to use checksums
22cb3f16b7079c9ab54b6ac368106d20f76a3164e65829050e3cb077e0ed4779
BLAKE2b-256 checksum
How to use checksums
efe44839eb60c2b653a762dd9a7d29bcff25471f7549e9ce4757e7ad965db948
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / kahoot_cli-1.0.2-py3-none-any.whl

Download URL kahoot_cli-1.0.2-py3-none-any.whl
Size 25.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6d942715fd958f5ef777cecd5e199c9603ee3dc3de2a81b6b047576488a89606
BLAKE2b-256 checksum
How to use checksums
7552f84c6fd8af6d9b33550f0c7d5b13ddaa98b78e47293f64f24425ba522c0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page