mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2026-10-30 18:47:03 +00:00
Build and push containers / metadata (push) Canceled after 0s
Build and push containers / build-push-containers (push) Canceled after 0s
Publish Python 🐍distribution 📦 to PyPI and TestPyPI / Build distribution 📦 (push) Canceled after 0s
Publish Python 🐍distribution 📦 to PyPI and TestPyPI / Test the built package works basically. (push) Canceled after 0s
Publish Python 🐍distribution 📦 to PyPI and TestPyPI / Publish Python 🐍 distribution 📦 to PyPI (push) Canceled after 0s
ChangeDetection.io App Test / lint-code (push) Canceled after 0s
ChangeDetection.io App Test / lint-translations (push) Canceled after 0s
ChangeDetection.io App Test / lint-template-i18n (push) Canceled after 0s
ChangeDetection.io App Test / test-application-3-11 (push) Canceled after 0s
ChangeDetection.io App Test / test-application-3-12 (push) Canceled after 0s
ChangeDetection.io App Test / test-application-3-13 (push) Canceled after 0s
ChangeDetection.io App Test / test-application-3-14 (push) Canceled after 0s
25 lines
564 B
Python
25 lines
564 B
Python
"""
|
|
Jinja2 custom extensions and safe rendering utilities.
|
|
"""
|
|
from .extensions.TimeExtension import TimeExtension
|
|
from .safe_jinja import (
|
|
render,
|
|
render_fully_escaped,
|
|
create_jinja_env,
|
|
JINJA2_MAX_RETURN_PAYLOAD_SIZE,
|
|
DEFAULT_JINJA2_EXTENSIONS,
|
|
)
|
|
from .plugins.regex import regex_replace
|
|
from .plugins.datetime_fmt import unixtime
|
|
|
|
__all__ = [
|
|
'TimeExtension',
|
|
'render',
|
|
'render_fully_escaped',
|
|
'create_jinja_env',
|
|
'JINJA2_MAX_RETURN_PAYLOAD_SIZE',
|
|
'DEFAULT_JINJA2_EXTENSIONS',
|
|
'regex_replace',
|
|
'unixtime',
|
|
]
|