Skip to main content

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 install to install dependencies
  • Run poetry run quizify to start the app

Option 2

  • Install from PyPi:
    • pip install quizify
  • Run quizify to start the app
  • Run quizify --help to see available options

Schema of CSV files

Questions

  • The questions csv file should have the following columns:
    • question: The question to be asked
    • answer: The correct answer to the question
    • options: 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 question
    • penalty: The penalty to be applied to the score if the question is answered incorrectly

Example CSV files

Example Usage

  • quizify --help to see available options
  • quizify --score-penalty=score_penalty_config.csv --questions=questions.csv to start the app with custom config and questions.
  • quizify --score-penalty=score_penalty_config.csv --questions=questions.csv --shuffle to start the app with custom config and questions and shuffle the questions.
  • quizify --score-penalty=score_penalty_config.csv --questions=questions.csv --shuffle --with-meta to start the app with custom config and questions and shuffle the questions and show meta data.

Metadata

Release files for quizify 0.1.1

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

Source distribution (sdist)

Source distribution for quizify 0.1.1
File Size Uploaded
quizify-0.1.1.tar.gz 5.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for quizify 0.1.1
File Interpreter ABI Platform
quizify-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.5 kB

Release files / quizify-0.1.1.tar.gz

Download URL quizify-0.1.1.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7400e87bbb8a20c6b469c67f205dbb0402be8f0ee00ffd19ec585744df3ee65c
BLAKE2b-256 checksum
How to use checksums
75faef9992d3488383d579da8c9712ea736aca1846e8dccb5955c63ec779fe9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.10.9 Darwin/23.1.0

Release files / quizify-0.1.1-py3-none-any.whl

Download URL quizify-0.1.1-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6c234d787a2930cd15b4d939406a03a06a7fdbb837bc126624e48ddd765b9819
BLAKE2b-256 checksum
How to use checksums
c47f06cdc068e5e094925672a2b546387a265e57600fa54168dfec155218a92b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.10.9 Darwin/23.1.0

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.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