Skip to content

Latest commit

 

History

History
47 lines (37 loc) · 1.2 KB

README.md

File metadata and controls

47 lines (37 loc) · 1.2 KB

gaia_plugin_demo

This is a simple example of a Gaia plugin project.

The project at minimum should include a setup.py file containing an 'entry_points' attribute that specified the location of your plugin modules:

  entry_points={
    'gaia.plugins': [
            "fake_plugin = my_gaia_plugins.fake_plugin",
            "another_fake_plugin = my_gaia_plugins.another_fake_plugin"
        ]
  }

Optionally, your project may also include a requirements.txt file and a 'gaia.cfg' configuration file.

For consistency, your plugin parent module's name should start with 'gaia_'.

To run this example:

The output should be:

Created FakeIO
Value of Gaia plugin config: demo_setting
Created AnotherFakeIO
Created FakeProcess
Compute something with FakeProcess
Process complete.