This is Python script that takes input file which contains arabic text and gives you output file which contains the same text transliterated using Buckwalter transliteration.
Demo of this script you can find here: https://www.youtube.com/watch?v=6h0FMp6_nYY&list=UUiPSXjiYod7bUKRfwq_K2bw