A flashcard deck for the FAA Remote Pilot Certificate (Part 107) exam, built with the same pipeline pattern as my amateur radio decks. It combines official FAA sample questions with concept cards derived from the FAA Remote Pilot Study Guide (FAA-G-8082-22) — 186 cards total, generated as a single .apkg file using genanki.
Sources
The deck draws from two sources:
- FAA UAG sample questions — 46 multiple-choice questions scraped from the FAA UAG PDF using
pdfplumber. The PDF doesn’t include answers, so the answer key is hardcoded from hand-verified results. - Concept cards — 140 cards covering all 12 chapters of the study guide: airspace classification, weather theory, airport operations, crew resource management, loading and performance, emergency procedures, and more. These were generated with AI assistance and reviewed for accuracy.
How it works
- Scrape —
scrape_uag.pydownloads the FAA PDF, extracts questions withpdfplumber, parses question IDs, ACS codes ([UA.III.B.K1d]), and answer choices, then writes to a~~-delimited text file - Build —
build_deck.pyreads all.txtfiles inquestions/, generates Anki notes (front: question + all answer choices, back: full correct answer text), tags each card by source (UAG,CON), and exports to.apkg
Card IDs are MD5-based so the deck identity stays stable across rebuilds — reimporting won’t duplicate cards or reset scheduling.
Usage
Pre-built .apkg decks are included in the repo — just import into Anki. To rebuild from scratch:
just setup # install Python dependencies (via mise + uv)
just scrape # re-scrape UAG questions from FAA PDF
just build # build the deck