pyaota
Multiple choice exam question manager, exam generator, and exam grader
pyaota builds randomized multiple-choice and true/false exams from YAML question banks, typesets them with a machine-readable answer sheet (bubble field, student-ID bubbles and a QR code identifying the version), and grades the scanned sheets back into your gradebook CSV.
- Many versions from one bank, with questions and choices shuffled per version
- Optional encryption of each version's answers in its QR code, so grading needs no key file
- Per-page graded overlays, a failed-pages report, and interactive recovery for unreadable pages
- Utilities to convert ZyBooks question exports (QTI XML or Word), bundle PDFs for printing, and email graded sheets (Windows/Outlook)
Install
pip install pyaota
You also need xelatex (TeX Live or MiKTeX) to build exams and Poppler
(apt install poppler-utils, brew install poppler, or conda install -c conda-forge poppler)
to grade them. Optional extras: pyaota[interactive] for grade --interactive.
Quick start
# build two shuffled 20-question versions with answers encrypted in the QR codes
pyaota build -q examples/question_banks/simple_math.yaml \
-n 2 -nq 20 -nc 4 -sc -sq --encode-answers-in-qr \
--institution "Example University" --course "MATH 101" --term "Spring 2026" \
-en "Quiz 1" -od build
# after the exam: grade the scanned answer sheets
pyaota grade -i scans.pdf -alj build/answersheet_layout.json -od graded
Keep answersheet_layout.json away from students: it holds the key that decrypts
the answers in the QR codes.
Documentation
Full documentation — question bank schema, every subcommand, the grading workflow and worked examples — is at https://pyaota.readthedocs.io.
Development
git clone https://github.com/cameronabrams/pyaota.git
cd pyaota
pip install -e '.[test]'
pytest
Changes are recorded in CHANGELOG.md.
Metadata
Release files for pyaota 0.6.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 |
|---|---|---|---|---|
| pyaota-0.6.1.tar.gz | 69.5 kB | With provenance | Details for pyaota-0.6.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyaota-0.6.1-py3-none-any.whl | Python 3 | none | any | Details for pyaota-0.6.1-py3-none-any.whl |
Total release size: 148.1 kB
Release files / pyaota-0.6.1.tar.gz
| Download URL | pyaota-0.6.1.tar.gz |
|---|---|
| Size | 69.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
afa092a4c2564f923a513f04d59da957824e2839902ca46e31d0fefc0d8a6fb4
|
|
BLAKE2b-256 checksum How to use checksums |
d4fd3546a6dd9ef3d361ef29a70744f415e8aa798c3a45aac8b89ef5d5665ebb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.
Transparency logRelease files / pyaota-0.6.1-py3-none-any.whl
| Download URL | pyaota-0.6.1-py3-none-any.whl |
|---|---|
| Size | 78.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
09822ea25e3cc7f3c4493ea9711ccc51b7d9206c30f4e2f81c945430896905ee
|
|
BLAKE2b-256 checksum How to use checksums |
1a325e3600f2e41b2d17e72da36a52763231e69d33f69eb315a91f6c7be02960
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.
Transparency logSecurity for pyaota 0.6.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for pyaota-0.6.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.
Transparency logA 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.