This paper describes the itmlogic package, which provides a Python implementation of the Longley-Rice Irregular Terrain Model. It implements the classic model, enabling the quantification of propagation loss over irregular terrain. itmlogic is capable of predicting the the statistics of propagation loss given input parameters such as transmitter and receiver heights, frequency, surface permittivity, climate zone, and terrain information.