Documents and files

A QECXDocument is the typed, editable model of one QECX file’s content: it loads, validates, edits and saves files. load_qecx() reads a file into a read-only QECXFile instead, and dump_qecx() writes a document.

QECXDocument(code_data, *[, code_name])

Single mutable, typed representation of a QECX document.

qecx_creator()

Return the creator stamp for saved documents: the producing tool and its version.

load_qecx(path, *[, validate])

Load a QECX file and return a QECXFile.

dump_qecx(document, target, *[, layout, ...])

Write a QECX document to a path or binary stream.

QECXFile(data, *[, source])

Loaded QECX file with structured property access.