The Python heapq module provides an implementation of the heap queue algorithm, which is also known as the priority queue algorithm.
heapq
This document was last updated: 2025-June-9 21:1:10 UTC