Skip to content

Latest commit

 

History

7 Commits

Folders and files

Repository files navigation

Awesome mining, curated by XploraHub

Awesome Mining

Open-source software for working mines, from pit to plant to closure.

Awesome Link check Contributors Last commit Licence: CC0

A curated list of open-source software for mining (the physical kind): mine planning, drill and blast, haulage, ventilation, geotechnics, mine water, processing, tailings and closure. For finding the deposit in the first place, see the sister list, Awesome Mineral Exploration, under Related lists; tools used in both, such as QGIS, CloudCompare, OpenDroneMap and the geostatistics libraries, are listed there.

Every tool here is open source, has a licence and has been updated in the last 18 months, except those under No longer maintained, at the end. Icons show the main language; the licence follows each description. Curated by XploraHub, open ground for exploration & mining technology. To search the list from Claude or ChatGPT, connect XploraHub.

Contents

Mine planning and design

  • MineFlow - C++ Library and command-line tool for ultimate pit limits using a pseudoflow solver adapted for mining, with variable slope precedence and support for sub-blocked models. MIT.
  • PitOpt - Python Local application that turns a block model into nested pit shells, pushbacks, a mining sequence and preliminary bench and ramp geometry, with Excel, PDF and DXF exports. MIT.
  • Incline Design - Rust Cross-platform mine design CAD with pit and stockpile shell generation, triangulations and OMF 2 import, for Windows, Linux, macOS and the browser. MIT.
  • py-lerchs-grossmann - Python Python package that applies the Lerchs-Grossmann algorithm to a block graph to find the optimal open pit. BSD-3-Clause.
  • Quaro - Python Browser-based open pit planning tool that builds an economic block model, runs ultimate pit and nested shell optimisation, and reports bench tonnages and grade-tonnage curves. Apache-2.0.
  • MMS 2.0 - JavaScript Web tool for selecting underground mining methods using the UBC, Nicholas and related scoring methods on geotechnical, geometric and economic criteria. MIT.

Block models and data formats

  • parq-blockmodel - Python Python package for storing, indexing, reblocking and analysing large mining block models as Parquet files. MIT.
  • omfpandas - Python Converts Open Mining Format elements to DataFrames and Parquet files. MIT.

Drill and blast

  • blast-physics-js - JavaScript JavaScript library of blast engineering models for vibration prediction, damage, detonation timing, flyrock and muckpile movement. MIT.
  • EXPLOCAL - C++ Calculates the theoretical properties of commercial explosives, such as detonation velocity, energy and gas volume, from their composition. MIT.
  • NavDrill Quality - Python Desktop tool that converts underground drill navigation logs into mine coordinates and reports as-drilled hole accuracy for drill and blast QA/QC. MIT.
  • SlopeForge - Python Desktop application for tracking production and contour blasts, final-wall assessment and blast quality in open pits. GPL-3.0.

Haulage, fleet and operations

  • OpenMines - Python Discrete-event simulator of open pit truck haulage for developing and benchmarking truck dispatch algorithms. MIT.
  • Mining-Gym - Python Configurable Gymnasium environment and discrete-event simulator for training and comparing reinforcement learning truck dispatch policies in open pits. MIT.
  • Mining-DRS - Python Discrete rate simulation framework for mine material flow, from extraction faces and haulage fleets to stockpiles and plant. MIT.

Underground and ventilation

  • VentPy - Python Python library with a C++ core for underground ventilation demand, Hardy Cross network solving and fan selection, with Peruvian and Chilean regulatory checks. MIT.
  • Mine Ventilation Network Simulator - TypeScript Web-based ventilation network editor and steady-state solver using Atkinson resistance and Hardy Cross, with fans, regulators and contaminant transport. MIT.
  • StopeForge - Python Desktop application for empirical open stope design with the Mathews-Potvin stability graph and a database of case histories. GPL-3.0.

Geotechnics and rock mechanics

  • OGR Slip2D - Python Two-dimensional slope stability by seven limit-equilibrium methods, with finite-element seepage and probabilistic analysis. AGPL-3.0.
  • xslope - Python Limit-equilibrium and finite-element slope stability, including jointed rock slopes, with finite-element seepage for embankments and dams. Apache-2.0.
  • PySlope - Python Slope stability by Bishop's method of slices, with plotting and search for the critical slip surface. MIT.
  • DSEPy - Python Python successor to the MATLAB tool DSE, for extracting, viewing and classifying rock mass discontinuities from point clouds. GPL-3.0.
  • MPM-Geomechanics - C++ Material point method code for large-deformation failure of soil and rock, with a mine slope failure example. MIT.
  • Yade - C++ Discrete element framework used for rock fracture, jointed rock masses and granular flow, scripted in Python. GPL-2.0.
  • geoeq - Python Geotechnical functions for SPT and CPT interpretation, liquefaction, bearing capacity and slope stability, useful for tailings and foundation checks. Apache-2.0.
  • GeoModel3D - TypeScript Browser application that builds layered 3D ground models from borehole logs and cone penetration tests, with sections along an alignment and effective stress profiles. Apache-2.0.

Mine water and hydrogeology

  • MODFLOW 6 - Fortran USGS groundwater flow and transport model, the standard for pit dewatering and mine water inflow studies. CC0-1.0.
  • FloPy - Python Python package to build, run and post-process MODFLOW models. CC0-1.0.
  • PEST++ - C++ Parameter estimation and uncertainty analysis for groundwater models, used to calibrate dewatering and closure predictions. CC0-1.0.
  • pyEMU - Python Python tools for PEST and PEST++ set-up, data-worth and uncertainty analysis. BSD-3-Clause.
  • GLM - C General Lake Model, a one-dimensional lake model coupled to AED water quality and used to forecast pit lake stratification and chemistry. GPL-3.0.

Geochemistry of mine water

  • PHREEQC - C++ USGS aqueous geochemistry code for speciation, saturation indices, mixing and 1D reactive transport, the standard for acid mine drainage work. USGS user rights notice.
  • PhreeqPython - Python Object-oriented Python wrapper for PHREEQC for scripting speciation and treatment calculations. Apache-2.0.
  • MIN3P - Fortran Reactive transport in variably saturated media, long used for sulfide oxidation in waste rock and tailings. MIT.
  • mf6rtm - Python Couples MODFLOW 6 and PhreeqcRM for multicomponent reactive transport in groundwater. BSD-3-Clause.
  • Reaktoro - C++ Chemical equilibrium and kinetics library with Python bindings, used for mine water and leach solution chemistry. LGPL-2.1.
  • CrunchFlow - Fortran Multicomponent reactive transport code from Lawrence Berkeley National Laboratory, applied to mineral weathering and acid drainage. BSD-3-Clause-LBNL.

Mineral processing and metallurgy

  • PrOMMiS - Python US DOE process models and optimisation for critical mineral recovery, including leaching, solvent extraction and precipitation. BSD-3-Clause-LBNL.
  • geometallurgy - Python Mass and composition data handling, mass-balanced flowsheet simulation and plots for geometallurgy. MIT.
  • MUSEN - C++ GPU discrete element system for particle breakage and bonded agglomerates, used to study crushing and grinding. BSD-3-Clause.
  • MercuryDPM - C++ Discrete particle simulation code for granular flows in chutes, hoppers and drums. BSD-3-Clause.
  • LIGGGHTS-INL - C++ Maintained fork of the LIGGGHTS discrete element code, the open DEM engine behind much mill liner, chute and conveyor transfer modelling. GPL-2.0.
  • OpenFOAM - C++ Finite-volume CFD toolbox used for hydrocyclone, flotation cell, slurry pipeline and ventilation flow models. GPL-3.0.

Tailings

  • Anura3D - Fortran Material point method code for large deformation and soil-water interaction, used for embankment failure and runout. LGPL-3.0.

Also relevant here: xslope and OGR Slip2D (seepage and slope stability of embankments), geoeq (CPT liquefaction screening), MIN3P (tailings geochemistry), and the InSAR tools below.

Environment, closure and rehabilitation

  • CAESAR-Lisflood - C# Landscape evolution and erosion model used to test rehabilitated mine landforms over centuries to millennia; HAIL-CAESAR is its C++ port for Linux clusters. GPL-3.0.
  • MintPy - Python InSAR time-series analysis for ground deformation, applied to mine subsidence, pit walls and tailings dams. GPL-3.0.
  • LiCSBAS2 - Python InSAR time-series analysis from COMET LiCSAR products, a low-effort route to deformation over mine sites. GPL-3.0.

Related lists

No longer maintained

Good tools that have had no updates for 18 months or more. They may not run on current versions of their dependencies, but the code and methods are still worth reading. Each is filed under the section it came from, and moves back there when it is updated again.

Block models and data formats (2)
  • omf-rust - Rust Reference library for reading and writing Open Mining Format 2.0 files, with conversion from OMF 1. MIT. Last updated 2025.
  • omf-io - Python Converts block models, rasters and other data into and out of Open Mining Format files. MIT. Last updated 2025.

Contributing

To add a tool, open a pull request with one line in the right section. See CONTRIBUTING.md for the rules. Everyone taking part agrees to the code of conduct.

The list is CC0. The icons, the code of conduct and the XploraHub name and banner have their own terms, set out in NOTICE.md.

Releases

Packages

Contributors