Skip to content

Python guidelines

Thomas Milox edited this page Apr 28, 2017 · 24 revisions

How write a python class to create a plugin for AVA

Alright, here we are :) If you are reading these lines that means you choose to develop your plugin for AVA in Python... Great choice!

You'll see there are only 4 rules to create your plugin... "What only 4? this guy has to be kidding me"

  • Python version:

We are using Python3, only!

  • Plugin conception:

You plugin must be conceived as a Python class ! This class must have the __init__ method which is run as soon as your object is instantiated, and the get_commands method which return a dictionnary containing the commands and the according methods of your class to execute

Clone this wiki locally