Lidar is a specialized Python package designed for analyzing high-resolution topographic data, particularly Digital Elevation Models (DEMs) derived from LiDAR. It enables the delineation of the nested hierarchy of surface depressions, offering crucial insights for hydrological and geomorphological studies. The tool is openly available and supported by comprehensive documentation.