選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

46 行
2.2KB

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