qecx.Properties

class qecx.Properties(*, uuid=None, author=None, creator=None, license=None, created_date=None, description=None, extra=<factory>)

Bases: object

Document provenance metadata with free-form extras.

Every field is optional. uuid and created_date are never generated automatically, so authoring identical content twice yields identical documents. The bibliography is not stored here: reference entries are registered on the document.

Variables:
  • uuid (str | None) – UUID for content-addressable identification.

  • author (str | tuple[str, ...] | None) – Author(s) or organization that created the document.

  • creator (str | None) – Software tool and version that produced the document; stamped at save when unset.

  • license (str | None) – SPDX license identifier or URL.

  • created_date (str | None) – ISO 8601 creation date.

  • description (str | None) – Human-readable description of the document or code.

  • extra (Mapping[str, object]) – Additional free-form metadata keys, stored verbatim; values are JSON-native (None, bool, int, float, str, or lists/dicts thereof with str keys). The key "references" is not permitted: it is the serialized form of the document’s bibliography. Defaults to an empty mapping.