You have a code and would like to use it from AiiDA? You need a special data type, parser, scheduler, … that is not available? Then you’ll need to write an AiiDA plugin.
Let’s get started with creating a new plugin
At least once, install an existing aiida plugin to make sure this works.
Check on the aiida plugin registry that your desired plugin name is still available
Use the AiiDA plugin cutter to jumpstart your plugin:pip install cookiecutter cookiecutter https://github.com/aiidateam/aiida-plugin-cutter.git # follow instructions ... cd aiida-mycode
Install your new plugin:workon <name_of_your_virtualenv> # if you have one pip install -e . reentry scan -r aiida
That’s it - now you can
import aiida_mycode and start developing your plugin