QuizGecko API Wrapper
A clean Python client for the QuizGecko API. Supports quiz generation, uploads, questions, and language listing.
Installation
pip install quizgecko
Quickstart
from quizgecko import Client, BearerAuth, endpoints
# Initialize
client = Client(BearerAuth('YOUR_API_KEY'))
# Create a quiz
quiz = endpoints.generate.create_quiz(
client,
text = 'Physics is the study of matter, energy, and their interactions.',
question_type = 'multiple_choice',
difficulty = 'easy'
)
# Wait until processing finishes
completed = endpoints.generate.wait_for_completion(client, quiz['quiz']['id'])
# View generated questions
for question in completed['questions']:
print(question['text'])
Endpoints
| Module | Description |
|---|---|
endpoints.generate |
Create and poll quiz generation jobs |
endpoints.quiz |
Retrieve and update quizzes |
endpoints.questions |
Update individual questions |
endpoints.upload |
Upload files for content generation |
endpoints.languages |
List supported languages |
Development
git clone https://github.com/kalenmcmillan/quizgecko.git
cd quizgecko
python -m pip install -e .
pytest
License
MIT License © 2025 Kalen McMillan
Metadata
Release files for quizgecko 0.1.2
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 |
|---|---|---|---|---|
| quizgecko-0.1.2.tar.gz | 7.3 kB | Without provenance | Details for quizgecko-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| quizgecko-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for quizgecko-0.1.2-py3-none-any.whl |
Total release size: 16.6 kB
Release files / quizgecko-0.1.2.tar.gz
| Download URL | quizgecko-0.1.2.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
311ab2b4688c794a9c500113b8bbdec158c32bf050885c3dd3694b7c87351c30
|
|
BLAKE2b-256 checksum How to use checksums |
8ece871efe8d055bfd1550ab4df9324edc62d5ad0d1884c53614672f77e2beff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / quizgecko-0.1.2-py3-none-any.whl
| Download URL | quizgecko-0.1.2-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
142a0b42c6e61007d37716b6338e141cecbefbb38d088b25aa139f44e479a111
|
|
BLAKE2b-256 checksum How to use checksums |
598e3b67b604683124b6cf3ab71be92f28bf4a73afe1623a310311f05d514472
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Security for quizgecko 0.1.2
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.