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.
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| quizify-0.1.1.tar.gz | 5.9 kB | Without provenance | Details for quizify-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| quizify-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for quizify-0.1.1-py3-none-any.whl |
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
|
Security for quizify 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.