A Python TUI quiz app
Project description
Quizzy
A quiz app using textual.
Configuration and Questions
Create a YAML file to define the teams participating, the questions and their answers.
teams:
- name: "Team 1"
- name: "Team 2"
categories:
- name: "General Knowledge"
questions:
- question: "What is the capital of France?"
answer: "Paris"
value: 100
- question: "What is the capital of Germany?"
answer: "Berlin"
value: 200
- name: "Science"
questions:
- question: "What is the chemical symbol for gold?"
answer: "Au"
value: 100
- question: "What is the chemical symbol for silver?"
answer: "Ag"
value: 200
See examples/quizzy.yaml for an example.
Running it
Run the latest PyPI release using uvx:
uvx quizzy projects/gh/quizzy/examples/quizzy.yaml
Run the local version using uv:
uv run quizzy examples/quizzy.yaml
Serve on a webserver using textual:
uvx quizzy --serve examples/quizzy.yaml
Run in development mode:
uv run textual run --dev quizzy.app:QuizzyApp examples/quizzy.yaml
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
quizzy-0.6.0.tar.gz
(3.5 MB
view details)
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 quizzy-0.6.0.tar.gz.
File metadata
- Download URL: quizzy-0.6.0.tar.gz
- Upload date:
- Size: 3.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.5.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5f7a7b15848f476566699669ff2d4f8bf4e2047115e8109d767e8aef2c75ca3
|
|
| MD5 |
3fc7171c1b73f912aa8382c8305d0522
|
|
| BLAKE2b-256 |
429c66427c81ea723e0891113d4a3a07624b2057230c2fa09e176f14c8e72ddb
|
File details
Details for the file quizzy-0.6.0-py3-none-any.whl.
File metadata
- Download URL: quizzy-0.6.0-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.5.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
511cee3213eab8755b6fbad5eff8ce5149ee478ba1503f2a8d3e08138d05bc93
|
|
| MD5 |
6b80b30e289a97b2947483335ccb1869
|
|
| BLAKE2b-256 |
cb79e159893fc530d60718e1c991ea31acb6f8b121b256d26b80f20296d29732
|