The Python snippet collection contains helper functions for Python 3.6. It includes utilities for most common data types, such as primitivies, lists, dictionaries and date objects.
Returns the difference between two lists, after applying the provided function to each list element of both.
Python, List · Nov 2, 2020
Returns a list of elements that exist in both lists, after applying the provided function to each list element of both.
Python, List · Nov 2, 2020
Converts a list of dictionaries into a list of values corresponding to the specified key
.
Python, List · Oct 22, 2020
Returns the symmetric difference between two lists, after applying the provided function to each list element of both.
Python, List · Nov 2, 2020
Returns every element that exists in any of the two lists once, after applying the provided function to each element of both.
Python, List · Nov 2, 2020
Learn how Python's lists and tuples are different and level up your code today.
Python, List · Jun 12, 2021
Learn how to sort a Python dictionary list using a tuple key.
Python, List · Jan 4, 2023
Splits values into two groups, based on the result of the given filter
list.
Python, List · Nov 2, 2020
Finds the index of the first element in the given list that satisfies the provided testing function.
Python, List · Nov 2, 2020
Finds the indexes of all elements in the given list that satisfy the provided testing function.
Python, List · Nov 2, 2020
Finds the index of the last element in the given list that satisfies the provided testing function.
Python, List · Nov 2, 2020
Chunks a list into smaller lists of a specified size.
Python, List · Nov 2, 2020
Finds the value of the first element in the given list that satisfies the provided testing function.
Python, List · Nov 2, 2020