Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can you please tell me how I can programmatically (or from the console) access the loaded plugin list? I tried:


but got:

TypeError: QgsProviderRegistry.pluginList(bool asHtml=False): first argument of unbound method must have type 'QgsProviderRegistry

I am sure I am missing something, but don't know what. How can I get access to the actual QgsProviderRegistry instance?

share|improve this question

Actually, you would need to access the instance method of the QgsProviderRegistry class, since it is a singleton:


However, as you can see, it doesn't list QGIS plugins, but data provider plugins, which are used by QGIS to support different data formats such as WFS, PostgreSQL/PostGIS, WMS, GDAL, etc.

To achieve what you're looking for, type in the QGIS Python console:


You could even access the list of active plugins (i.e., those plugins loaded by QGIS and not unchecked by the user):

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.