# PyAXML **Repository Path**: ShaoboFeng/PyAXML ## Basic Information - **Project Name**: PyAXML - **Description**: PyAXML is lib for python to decode AndroidManifest.xml - **Primary Language**: Python - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-05-28 - **Last Updated**: 2023-06-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## PyAXML PyAXML is lib for python to decode AndroidManifest.xml ## Features - Get AndroidManifest.xml from a Apk. - decode AndroidManifest.xml ##Usage zipFile = zipfile.ZipFile(filename) #apk is a zip file,so we can decode it using zipfile data = zipFile.read('AndroidManifest.xml') #data is Unpacked bytes,you can read from file apk = APK(data) apk.parse_androidxml() #apk.AndroidManifest is the xml that you wanted print(apk.getpackage()+" "+apk.getversion()) zipFile.close() ## Contacts My webpage is [http://www.sbfeng.cn](http://www.sbfeng.cn)