heapq - Heap queue algorithm, Python core developers, 2024 - Provides official documentation and examples for Python's heapq module.
Introduction to Algorithms, Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, and Clifford Stein, 2022 (MIT Press) - A standard algorithms textbook that presents the theoretical foundations of heaps and priority queues.
Data Structures and Algorithms in Python, Michael T. Goodrich, Roberto Tamassia, and Michael H. Goldwasser, 2013 (John Wiley & Sons) - Presents data structures and algorithms with Python examples, including detailed heap discussions.