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:

  1. 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.
  2. 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

  1. Scrapescrape_uag.py downloads the FAA PDF, extracts questions with pdfplumber, parses question IDs, ACS codes ([UA.III.B.K1d]), and answer choices, then writes to a ~~-delimited text file
  2. Buildbuild_deck.py reads all .txt files in questions/, 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

Code