The QGIS user guide section Using processing algorithms from the console has not yet been updated for QGIS 3 and while a previously answered question will do the trick with some extra work, it is not as easy and user friendly as the old alglist()
In the user guide the following commands are presented, resulting in a user-friendly list:
import processing
processing.alglist()
This still works in the QGIS 2.18.18 python console. Using an algorithm's id one can then use e.g.
processing.alghelp("qgis:dissolve")
to learn about the algorithm's required parameters etc.
Are there any equivalent functions in QGIS 3?
Using something like print([str(e.provider().name()) + ":" + str(e.name()) for e in QgsApplication.processingRegistry().algorithms()]) gets me closer, but still not equivalent in readability to alglist().
alglist()andalghelp()were renamed toprintAlgorithms()andalgorithmHelp(). Since then they seem to have been moved toqgis.core.QgsProcessingRegistrybut I can't find any replacement foralglist()there. – MattiasSp Jun 11 '18 at 12:41QgsApplication.processingRegistry().algorithms()function as suggested in the previous answer returns a list of QgsProcessingAlgorithm objects and so does not on its own provide the quick and user friendly method previously found inalglist(). – MattiasSp Jun 11 '18 at 12:56alglist()in QGIS 2.x. – Germán Carrillo Jun 11 '18 at 13:27QgsApplication.processingRegistry().printAlgorithms()using that example? – MattiasSp Jun 11 '18 at 13:50