File: README.rst

package info (click to toggle)
pyaxmlparser 0.3.31-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,552 kB
  • sloc: python: 3,089; xml: 2,517; sh: 9; makefile: 6
file content (52 lines) | stat: -rw-r--r-- 990 bytes parent folder | download
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
45
46
47
48
49
50
51
52
axmlparser
===========


A simple parser to parse Android XML file.


Usage
======

.. code-block:: shell

    ➜ apkinfo --help
    Usage: apkinfo [OPTIONS] FILENAME

    Options:
    -s, --silent  Don't print any debug or warning logs
    --help        Show this message and exit.

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)