APKDecompiler is a Python library that compiles [APK/DEX] file using JADX .
pip install git+https://github.com/1337r00t/apkdecompiler#egg=apkdecompiler
Only JAVA! and needs folder in \Lib\site-packages\apkdecompiler or just edit [Should be JADX in %PATH%] :-
os.system('jadx -d '+str(folder)+' '+str(self.apkfile))
import apkdecompiler
Test = apkdecompiler.APKDecompile('test.apk').inFolder('C:/Users/1337r00t/null/apks/')
or
import apkdecompiler
Test = apkdecompiler.APKDecompile('test.dex').inFolder('C:/Users/1337r00t/null/apks/')
&> /dev/null
if you want to hide output .
1337r00t @ Blackfox's Team . real n00b from Saudi Arabia