heap and indexheap library
Binary heap module in python (Min Heap, Max Heap)
Python functions for working with d-ary Heap (Heap with more than 2 child nodes) For more info (https://en.wikipedia.org/wiki/D-ary_heap)