Data Structure Filters
10 filters
-
dictsort
sorts a list of dictionaries by
key. -
dictsortreversed
reverse sorts a list of dictionaries by
key. - first outputs the first element in a sequence.
-
join
joins a list on
s. Works just like Python’ss.join(value). - last outputs the last element in a sequence.
- make_list converts the value to a list of characters.
- random outputs a random item from a sequence.
-
safeseq
applies the
safefilter to each element of a sequence. - slice returns a slice of a sequence. Most useful
- unordered_list creates an unordered HTML list from a Python list of lists.
