Python heapq Module
This page shows the popular functions and classes defined in the
heapq 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.
-
1. heappop()Used in 397 projects
-
2. heappush()Used in 345 projects
-
3. nlargest()Used in 163 projects
-
4. heapify()Used in 147 projects
-
Used in 61 projects
-
6. nsmallest()Used in 49 projects
-
Used in 45 projects
-
8. merge()Used in 32 projects
-
9. html()Used in 14 projects
-
10. _siftdown()Used in 11 projects