Here is few things you need to install before your start the bot.
First you need ton install the pywikibot framework (https://www.mediawiki.org/wiki/Manual:Pywikibot/Installation/fr) and the lxml library for python.
After dowloading the pywikibot framework and lmxl your can start the bot with the following command :
cat <xml file> | python3 main.py <username> <password> (<lexeme_only>)
The <lexeme_only> parameter is facultative. For more information please read the documentation (french or english version). You can find a description of the xml file in the "File description" section. To avoid errors please check the "Known issues" section of the documentation.