https://antoniolocandro.com/how-to-list-layers-from-qgis-projects-using-pyqgis/
How to list layers from QGIS projects using PYQGIS