OXIESEC PANEL
- Current Dir:
/
/
usr
/
local
/
lib
/
python3.6
/
dist-packages
/
jinja2
Server IP: 10.0.0.4
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
09/19/2021 04:38:27 PM
rwxrwxr-x
📄
__init__.py
2.15 KB
09/19/2021 04:38:25 PM
rw-r--r--
📁
__pycache__
-
09/19/2021 04:38:27 PM
rwxr-xr-x
📄
_identifier.py
1.73 KB
09/19/2021 04:38:25 PM
rw-r--r--
📄
async_utils.py
1.71 KB
09/19/2021 04:38:25 PM
rw-r--r--
📄
bccache.py
12.38 KB
09/19/2021 04:38:25 PM
rw-r--r--
📄
compiler.py
70.36 KB
09/19/2021 04:38:25 PM
rw-r--r--
📄
constants.py
1.4 KB
09/19/2021 04:38:25 PM
rw-r--r--
📄
debug.py
9.02 KB
09/19/2021 04:38:25 PM
rw-r--r--
📄
defaults.py
1.24 KB
09/19/2021 04:38:25 PM
rw-r--r--
📄
environment.py
60.13 KB
09/19/2021 04:38:25 PM
rw-r--r--
📄
exceptions.py
4.95 KB
09/19/2021 04:38:25 PM
rw-r--r--
📄
ext.py
31.37 KB
09/19/2021 04:38:25 PM
rw-r--r--
📄
filters.py
51.34 KB
09/19/2021 04:38:25 PM
rw-r--r--
📄
idtracking.py
10.46 KB
09/19/2021 04:38:25 PM
rw-r--r--
📄
lexer.py
29.22 KB
09/19/2021 04:38:25 PM
rw-r--r--
📄
loaders.py
21.83 KB
09/19/2021 04:38:25 PM
rw-r--r--
📄
meta.py
4.29 KB
09/19/2021 04:38:25 PM
rw-r--r--
📄
nativetypes.py
3.59 KB
09/19/2021 04:38:25 PM
rw-r--r--
📄
nodes.py
33.7 KB
09/19/2021 04:38:25 PM
rw-r--r--
📄
optimizer.py
1.61 KB
09/19/2021 04:38:25 PM
rw-r--r--
📄
parser.py
38.83 KB
09/19/2021 04:38:25 PM
rw-r--r--
📄
py.typed
0 bytes
09/19/2021 04:38:25 PM
rw-r--r--
📄
runtime.py
34.19 KB
09/19/2021 04:38:25 PM
rw-r--r--
📄
sandbox.py
14.26 KB
09/19/2021 04:38:25 PM
rw-r--r--
📄
tests.py
5.77 KB
09/19/2021 04:38:25 PM
rw-r--r--
📄
utils.py
26.33 KB
09/19/2021 04:38:25 PM
rw-r--r--
📄
visitor.py
3.49 KB
09/19/2021 04:38:25 PM
rw-r--r--
Editing: defaults.py
Close
import typing as t from .filters import FILTERS as DEFAULT_FILTERS # noqa: F401 from .tests import TESTS as DEFAULT_TESTS # noqa: F401 from .utils import Cycler from .utils import generate_lorem_ipsum from .utils import Joiner from .utils import Namespace if t.TYPE_CHECKING: import typing_extensions as te # defaults for the parser / lexer BLOCK_START_STRING = "{%" BLOCK_END_STRING = "%}" VARIABLE_START_STRING = "{{" VARIABLE_END_STRING = "}}" COMMENT_START_STRING = "{#" COMMENT_END_STRING = "#}" LINE_STATEMENT_PREFIX: t.Optional[str] = None LINE_COMMENT_PREFIX: t.Optional[str] = None TRIM_BLOCKS = False LSTRIP_BLOCKS = False NEWLINE_SEQUENCE: "te.Literal['\\n', '\\r\\n', '\\r']" = "\n" KEEP_TRAILING_NEWLINE = False # default filters, tests and namespace DEFAULT_NAMESPACE = { "range": range, "dict": dict, "lipsum": generate_lorem_ipsum, "cycler": Cycler, "joiner": Joiner, "namespace": Namespace, } # default policies DEFAULT_POLICIES: t.Dict[str, t.Any] = { "compiler.ascii_str": True, "urlize.rel": "noopener", "urlize.target": None, "urlize.extra_schemes": None, "truncate.leeway": 5, "json.dumps_function": None, "json.dumps_kwargs": {"sort_keys": True}, "ext.i18n.trimmed": False, }