Quizify is a Python package for creating quizzes from the csv file.
Project description
Quizify - A Quiz App
Description
This is a cli quiz app that allows users to take a quiz and assess their knowledge on a particular topic. It reads questions from csv files and presents them to the user. The user can then select an answer. At the end of the quiz, the user is presented with their score.
Requirements
- Python 3.10 or higher
Installation
Option 1
- Clone the repo:
git clone https://github.com/Kamran151199/quizify.git - Navigate to the project directory:
cd quizify
- Run
poetry installto install dependencies - Run
poetry run quizifyto start the app
Option 2
- Install from PyPi:
pip install quizify
- Run
quizifyto start the app - Run
quizify --helpto see available options
Schema of CSV files
Questions
- The questions csv file should have the following columns:
question: The question to be askedanswer: The correct answer to the questionoptions: The options separated by;(semi-colon)level: Any meta data that you want to show to the user after the question has been answered
Score Penalty
- The score penalty csv file should have the following columns:
level: The level of the questionpenalty: The penalty to be applied to the score if the question is answered incorrectly
Example CSV files
Example Usage
quizify --helpto see available optionsquizify --score-penalty=score_penalty_config.csv --questions=questions.csvto start the app with custom config and questions.quizify --score-penalty=score_penalty_config.csv --questions=questions.csv --shuffleto start the app with custom config and questions and shuffle the questions.quizify --score-penalty=score_penalty_config.csv --questions=questions.csv --shuffle --with-metato start the app with custom config and questions and shuffle the questions and show meta data.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file quizify-0.1.1.tar.gz.
File metadata
- Download URL: quizify-0.1.1.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.10.9 Darwin/23.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7400e87bbb8a20c6b469c67f205dbb0402be8f0ee00ffd19ec585744df3ee65c
|
|
| MD5 |
0b7ab9ea29977ea96658cd4cd6fbc8ef
|
|
| BLAKE2b-256 |
75faef9992d3488383d579da8c9712ea736aca1846e8dccb5955c63ec779fe9c
|
File details
Details for the file quizify-0.1.1-py3-none-any.whl.
File metadata
- Download URL: quizify-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.10.9 Darwin/23.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c234d787a2930cd15b4d939406a03a06a7fdbb837bc126624e48ddd765b9819
|
|
| MD5 |
e629e015e18aad523fca94585821ec59
|
|
| BLAKE2b-256 |
c47f06cdc068e5e094925672a2b546387a265e57600fa54168dfec155218a92b
|