If you want to get objects from a list that match a certain pattern, use pydash‘s filter.
pydash
filter
In the code above, I use filter to get a dictionary whose name is apple.
Link to pydash.
My previous tips on pydash.