1
0

__init__.py 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # -*- coding: utf-8 -*-
  2. """Jinja is a template engine written in pure Python. It provides a
  3. non-XML syntax that supports inline expressions and an optional
  4. sandboxed environment.
  5. """
  6. from markupsafe import escape
  7. from markupsafe import Markup
  8. from .bccache import BytecodeCache
  9. from .bccache import FileSystemBytecodeCache
  10. from .bccache import MemcachedBytecodeCache
  11. from .environment import Environment
  12. from .environment import Template
  13. from .exceptions import TemplateAssertionError
  14. from .exceptions import TemplateError
  15. from .exceptions import TemplateNotFound
  16. from .exceptions import TemplateRuntimeError
  17. from .exceptions import TemplatesNotFound
  18. from .exceptions import TemplateSyntaxError
  19. from .exceptions import UndefinedError
  20. from .filters import contextfilter
  21. from .filters import environmentfilter
  22. from .filters import evalcontextfilter
  23. from .loaders import BaseLoader
  24. from .loaders import ChoiceLoader
  25. from .loaders import DictLoader
  26. from .loaders import FileSystemLoader
  27. from .loaders import FunctionLoader
  28. from .loaders import ModuleLoader
  29. from .loaders import PackageLoader
  30. from .loaders import PrefixLoader
  31. from .runtime import ChainableUndefined
  32. from .runtime import DebugUndefined
  33. from .runtime import make_logging_undefined
  34. from .runtime import StrictUndefined
  35. from .runtime import Undefined
  36. from .utils import clear_caches
  37. from .utils import contextfunction
  38. from .utils import environmentfunction
  39. from .utils import evalcontextfunction
  40. from .utils import is_undefined
  41. from .utils import select_autoescape
  42. __version__ = "2.11.2"