Files
Romuald Juchnowicz-Bierbasz 20143e3b4f SDK-2520: Fix typo
2019-02-11 15:11:18 +01:00

533 B

Galaxy python plugin API

Usage

Implement plugin:

import asyncio
from galaxy.api.plugin import Plugin

class PluginExample(Plugin):
    # implement methods
    async def authenticate(self, stored_credentials=None):
        pass

# run plugin event loop
if __name__ == "__main__":
    asyncio.run(MockPlugin().run())

Use pyinstaller to create plugin executbale.

Development

Install required packages:

pip install -r requirements.txt

Run tests:

pytest