PyDebFlow is an open-source geospatial tool designed for the comprehensive simulation of gravitational mass flows. By integrating physics-based friction models with advanced topography processing, allows researchers and engineers to accurately predict the runout, velocity, and deposition heights of debris flows and landslides for hazard assessment.