__init__.py 781 B

12345678910111213141516171819202122232425262728293031
  1. """Template package for template and variable management.
  2. This package provides Template, VariableCollection, VariableSection, and Variable
  3. classes for managing templates and their variables.
  4. """
  5. from .template import (
  6. TEMPLATE_STATUS_DRAFT,
  7. TEMPLATE_STATUS_INVALID,
  8. TEMPLATE_STATUS_PUBLISHED,
  9. Template,
  10. TemplateErrorHandler,
  11. TemplateFile,
  12. TemplateMetadata,
  13. )
  14. from .variable import Variable
  15. from .variable_collection import VariableCollection
  16. from .variable_section import VariableSection
  17. __all__ = [
  18. "TEMPLATE_STATUS_DRAFT",
  19. "TEMPLATE_STATUS_INVALID",
  20. "TEMPLATE_STATUS_PUBLISHED",
  21. "Template",
  22. "TemplateErrorHandler",
  23. "TemplateFile",
  24. "TemplateMetadata",
  25. "Variable",
  26. "VariableCollection",
  27. "VariableSection",
  28. ]