Skip to content

mbertrand/gaia-plugin-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages