Generates Kahoot quiz from commits in a git repository
Project description
git-kahoot
Generate Kahoot quiz from commits in a git repository.
Installation
Requires Python 3.6+.
pip install git-kahoot
Usage
Usage: git-kahoot [OPTIONS]
Generates Kahoot quiz from commits in a git repository.
Options:
-d, --directory DIRECTORY path to git repository (default: current
directory)
--since [%Y-%m-%d|%Y-%m-%dT%H:%M:%S|%Y-%m-%d %H:%M:%S]
only include commits since this date
--until [%Y-%m-%d|%Y-%m-%dT%H:%M:%S|%Y-%m-%d %H:%M:%S]
only include commits up until this date
-n, --count INTEGER RANGE number of questions (default: 20, max: 100)
-u, --username TEXT Kahoot user name [required]
-p, --password TEXT Kahoot password [required]
-t, --title TEXT title of the generated quiz (default: "Git
Commiter Quiz"
--help Show this message and exit.
Examples
# Specify path to git repository using the -d option. Omitting this options will try to use the current directory.
git-kahoot --directory /my/repo
# or
cd /my/repo
git-kahoot
# Only include commits between a date range
git-kahoot --directory /my/repo --since 2015-01-01 --until 2018-01-01
# Set the title of the generated quiz and the number of questions
git-kahoot --title "My glorious quiz" --count 10
# Specify credentials for your Kahoot acoount. You will be prompted for these credentials if you omit them.
git-kahoot --username AzureDiamond --password hunter2
Development setup
Assuming Python 3.6+ is installed, clone the repository, set up a virtualenv and install the package as editable.
git clone git@github.com:janerist/git-kahoot.git
cd git-kahoot
virtualenv venv
. venv/bin/activate (Windows: venv/Scripts/activate)
pip install --editable .
git-kahoot
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
git-kahoot-0.1.2.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for git_kahoot-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b26c8614430f79d07f6347a2f0077efdb8ed26f04244234a440f8b2340954dd5 |
|
MD5 | c4c3051f5f590ca79ba9e5d2d4333e53 |
|
BLAKE2b-256 | f8fe62a5d1b66191fcd40158b55082abbc64e58930a530a3ab58bc74a0b3d4ff |