2

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().

MattiasSp
  • 330
  • 3
  • 8

0 Answers0