mirror of
https://github.com/gogcom/galaxy-integrations-python-api.git
synced 2026-01-15 18:28:49 -05:00
67e7a4c0b2ca38be9acd3c53cfedebfe603c7206
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
Languages
Python
100%