export_mobius_batch.py Documentation¶
Introduction¶
export_mobius_batch.py is a batch wrapper around export_mobius.py. It renders every sheet directory in a parent folder, merges the produced XML manifests into one all_sheets.xml, and bundles the copied media into all_media.zip.
Usage¶
python export_mobius_batch.py SHEETS_DIR OUTPUT_DIR [--reset-uid] [--config CONFIG] [--profile PROFILE] [--render-mode {assignment,exercise}] [--continue-on-error]
SHEETS_DIR: parent directory containing one subdirectory per sheetOUTPUT_DIR: folder where the merged XML, media bundle, and timing summary should be written--reset-uid: regenerate question and sheet UIDs before rendering--config: pass a custom config JSON file through toexport_mobius.py(otherwisenobius.jsonis used)--profile: render all sheet folders using the selected named Nobius profile--render-mode: render all sheet folders using the selected manifest mode--continue-on-error: keep processing remaining sheet folders if one render fails
Outputs¶
export_mobius_batch.py writes:
all_sheets.xmlall_media.zipquestion_timings.txt- an intermediate
xml/directory containing per-sheet XML files - an intermediate
web_folders/directory containing copied media
Notes¶
This script is still a wrapper around repeated single-sheet renders, not a dedicated shared rendering pipeline. It is useful for batch assembly, but the main single-sheet workflow remains export_mobius.py.