summaryrefslogtreecommitdiff
path: root/README.rst
blob: 48c598d83075c5d02b5cb7cb71d9bed6d9e36d22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
axmlparser
===========


A simple parser to parse Android XML file.


Usage
======


CLI :
====

.. code-block:: shell

    $ apkinfo ~/Downloads/com.hardcodedjoy.roboremo.15.apk
    APK: /home/chillaranand/Downloads/com.hardcodedjoy.roboremo.15.apk
    App name: RoboRemo
    Package: com.hardcodedjoy.roboremo
    Version name: 2.0.0
    Version code: 15
    Is it Signed: True
    Is it Signed with v1 Signatures: True
    Is it Signed with v2 Signatures: True
    Is it Signed with v3 Signatures: False



Python package :
================

.. code-block:: python

    from pyaxmlparser import APK


    apk = APK('/foo/bar.apk')
    print(apk.package)
    print(apk.version_name)
    print(apk.version_code)
    print(apk.icon_info)
    print(apk.icon_data)
    print(apk.application)