The plugins.py module#

Summary#

load_plugin_on_server

Load a DPF Python plugin on the global or given DPF server.

Description#

Python DPF plugins utilities.

Contains the utilities specific to installing and using Python DPF plugins.

Module detail#

plugins.load_plugin_on_server(plugin, server=None, symbol='load_operators', generate_operators=False)#

Load a DPF Python plugin on the global or given DPF server.

Parameters:
  • plugin – DPF Python plugin to load.

  • server – DPF server to load the plugin onto.

  • symbol – Name of the function recording the operators in the plugin.

  • generate_operators – Whether to generate the Python code for the operators in the plugin.