GRASS processing plugin access in PyQGIS

I’m currently updating a stand-alone python for identifying sinkholes and depressions using LiDAR data, that originally implemented some of the processing toolbox functionality to process both the DEM rasters that the application generates, as well as create polygons from the result. It was originally written for QGIS 3.13, and I am now updating the application to work on the current version (3.44.3). I have figured out how to access the processing framework somewhat, gaining access to the native and GDAL processing tools in Python, however I do not have access to the GRASS processing tools. Does anyone have any insight into how I can fix this? I do have access to GRASS processing tools in QGIS. My current configuration consists of the following:

  • Microsoft Windows 11
  • Installed using OSGeo4W installer:
    • QGIS 3.44.3
    • GRASS GIS 8.4
    • SAGA 9.8.1
    • Python 3.12

I have also made sure that I have the qgis-grass-plugin installed, and added the path to the processing framework to the environment the application is running in. Am I doing something wrong, or was support for GRASS in this way discontinued? If it was discontinued, is there a relatively simple alternative to access GRASS processing functions from Python? Any help would be appreciated.

GRASS is still supported. I know that there were some issues with PDAL trying to communicate with GRASS on Windows, if I remember correctly. Are you having issues with grass84 not being accessible through the OSGeo4W Shell?

No, I can access GRASS no problems through the shell, this is specifically accessing GRASS processing tools in the QGIS processing framework using PyQGIS in a standalone configuration.