Python collections Module
This page shows the popular functions and classes defined in the
collections module.
The items are ordered by their popularity in 40,000 open source Python projects.
If you can not find a good example below, you can try
the search function
to search modules.
-
Used in 5075 projects
-
Used in 4789 projects
-
3. namedtuple()Used in 4241 projects
-
4. Counter()Used in 2379 projects
-
5. deque()Used in 2038 projects
-
6. Iterable()Used in 801 projects
-
7. Mapping()Used in 717 projects
-
8. Sequence()Used in 422 projects
-
Used in 397 projects
-
10. Callable()Used in 305 projects
-
11. ChainMap()Used in 157 projects
-
Used in 127 projects
-
13. MutableSet()Used in 110 projects
-
14. abc()Used in 108 projects
-
15. UserDict()Used in 101 projects
-
16. Hashable()Used in 83 projects
-
17. Iterator()Used in 79 projects
-
18. UserList()Used in 65 projects
-
19. Sized()Used in 50 projects
-
20. Set()Used in 47 projects
-
21. Container()Used in 35 projects
-
22. UserString()Used in 29 projects
-
23. ValuesView()Used in 19 projects
-
24. html()Used in 16 projects
-
25. KeysView()Used in 15 projects
-
26. ItemsView()Used in 14 projects
-
Used in 11 projects
-
28. MappingView()Used in 5 projects