adbtool


Nameadbtool JSON
Version 0.0.24 PyPI version JSON
download
home_page
SummaryA friendly android adb command-line tool
upload_time2024-01-31 08:36:59
maintainer
docs_urlNone
author
requires_python>=3.10
licenseMIT License Copyright (c) 2017 zheyu Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords android adb
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Adbtool
A friendly android adb command-line tool

[![Test 😎](https://github.com/litefeel/adbtool/workflows/Test%20%F0%9F%98%8E/badge.svg)](https://github.com/litefeel/adbtool/actions)
[![PyPI](https://img.shields.io/pypi/v/adbtool.svg)](https://pypi.org/project/adbtool/)
[![PyPI](https://img.shields.io/pypi/l/adbtool.svg)](https://pypi.org/project/adbtool/)


### Python Requirements
* python 3.10+
* Android SDK


### Commands


~~~
adbt -h
usage: adbt [options]

show android device list

options:
  -h, --help            show this help message and exit
  -c CONFIG, --config CONFIG
                        global config
  --version             show program's version number and exit

sub commands:
  {devices,push,install,uninstall,apk,sign,ab,il2cpp}
    devices             show android device list
    push                push files to android device
    install             install apk file
    uninstall           uninstall apk file
    apk                 show apk packageName/activityName
    sign                sign apk with android debug(only windows)
    ab                  extract unity asset bundle information
    il2cpp              extract unity il2cpp information
~~~

---

~~~
adbt devices -h
usage: adbt [options] devices [-h] [-d DEVICES [DEVICES ...]] [-l]

optional arguments:
  -h, --help            show this help message and exit
  -d DEVICES [DEVICES ...], --devices DEVICES [DEVICES ...]
                        filter of devices, [n | serial | a] n:index of list(start with 1), serial:at least 2 char,
                        a:all
  -l, --list            show devices list
~~~
---
~~~
adbt push -h
usage: adbt [options] push [-h] [-r] [-n] [-j [HASHJSON]] [--hash [{sha1,mtime}]] [--localdir LOCALDIR]
                           [--remotedir REMOTEDIR] [--dontpush] [-d [DEVICES [DEVICES ...]]]
                           [path [path ...]]

positional arguments:
  path                  file or directory

optional arguments:
  -h, --help            show this help message and exit
  -r                    recursion all file
  -n                    only push new file by last modify files, see -j
  -j [HASHJSON]         hash json file, default: ./$deviceMode_$deviceSerial.json
  --hash [{sha1,mtime}]
                        hash function: mtime or sha1, default:mtime
  --localdir LOCALDIR   local prefix and remote prefix, will replace local prefix to remote prefix
  --remotedir REMOTEDIR
                        local prefix and remote prefix, will replace local prefix to remote prefix
  --dontpush            only outout json file, not really push file to remote
  -d [DEVICES [DEVICES ...]], --devices [DEVICES [DEVICES ...]]
                        filter of devices, [a | n | serial] a: all devices n: index of devices list(start with 1)
                        serial: devices serial (at least 2 char) not argument is show device list
~~~
---
~~~
adbt install -h
usage: adbt [options] install [-h] [-f [FILTER [FILTER ...]]] [-r] [-d [DEVICES [DEVICES ...]]] [apkpath]

positional arguments:
  apkpath

optional arguments:
  -h, --help            show this help message and exit
  -f [FILTER [FILTER ...]], --filter [FILTER [FILTER ...]]
                        filtered by file name
  -r, --run             run app after install
  -d [DEVICES [DEVICES ...]], --devices [DEVICES [DEVICES ...]]
                        filter of devices, [a | n | serial] a: all devices n: index of devices list(start with 1)
                        serial: devices serial (at least 2 char) not argument is show device list
~~~
---
~~~
adbt apk -h
usage: adbt [options] apk [-h] [-r] [-d [DEVICES [DEVICES ...]]] [apkpath]

positional arguments:
  apkpath

optional arguments:
  -h, --help            show this help message and exit
  -r, --run             run app
  -d [DEVICES [DEVICES ...]], --devices [DEVICES [DEVICES ...]]
                        filter of devices, [a | n | serial] a: all devices n: index of devices list(start with 1)
                        serial: devices serial (at least 2 char) not argument is show device list
~~~

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "adbtool",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "",
    "keywords": "Android,adb",
    "author": "",
    "author_email": "litefeel <litefeel@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/b8/ce/9851aafcf8966602b3f2aeaf9eac6eb0757edb758e5e9048e59687acd850/adbtool-0.0.24.tar.gz",
    "platform": null,
    "description": "# Adbtool\nA friendly android adb command-line tool\n\n[![Test \ud83d\ude0e](https://github.com/litefeel/adbtool/workflows/Test%20%F0%9F%98%8E/badge.svg)](https://github.com/litefeel/adbtool/actions)\n[![PyPI](https://img.shields.io/pypi/v/adbtool.svg)](https://pypi.org/project/adbtool/)\n[![PyPI](https://img.shields.io/pypi/l/adbtool.svg)](https://pypi.org/project/adbtool/)\n\n\n### Python Requirements\n* python 3.10+\n* Android SDK\n\n\n### Commands\n\n\n~~~\nadbt -h\nusage: adbt [options]\n\nshow android device list\n\noptions:\n  -h, --help            show this help message and exit\n  -c CONFIG, --config CONFIG\n                        global config\n  --version             show program's version number and exit\n\nsub commands:\n  {devices,push,install,uninstall,apk,sign,ab,il2cpp}\n    devices             show android device list\n    push                push files to android device\n    install             install apk file\n    uninstall           uninstall apk file\n    apk                 show apk packageName/activityName\n    sign                sign apk with android debug(only windows)\n    ab                  extract unity asset bundle information\n    il2cpp              extract unity il2cpp information\n~~~\n\n---\n\n~~~\nadbt devices -h\nusage: adbt [options] devices [-h] [-d DEVICES [DEVICES ...]] [-l]\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -d DEVICES [DEVICES ...], --devices DEVICES [DEVICES ...]\n                        filter of devices, [n | serial | a] n:index of list(start with 1), serial:at least 2 char,\n                        a:all\n  -l, --list            show devices list\n~~~\n---\n~~~\nadbt push -h\nusage: adbt [options] push [-h] [-r] [-n] [-j [HASHJSON]] [--hash [{sha1,mtime}]] [--localdir LOCALDIR]\n                           [--remotedir REMOTEDIR] [--dontpush] [-d [DEVICES [DEVICES ...]]]\n                           [path [path ...]]\n\npositional arguments:\n  path                  file or directory\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -r                    recursion all file\n  -n                    only push new file by last modify files, see -j\n  -j [HASHJSON]         hash json file, default: ./$deviceMode_$deviceSerial.json\n  --hash [{sha1,mtime}]\n                        hash function: mtime or sha1, default:mtime\n  --localdir LOCALDIR   local prefix and remote prefix, will replace local prefix to remote prefix\n  --remotedir REMOTEDIR\n                        local prefix and remote prefix, will replace local prefix to remote prefix\n  --dontpush            only outout json file, not really push file to remote\n  -d [DEVICES [DEVICES ...]], --devices [DEVICES [DEVICES ...]]\n                        filter of devices, [a | n | serial] a: all devices n: index of devices list(start with 1)\n                        serial: devices serial (at least 2 char) not argument is show device list\n~~~\n---\n~~~\nadbt install -h\nusage: adbt [options] install [-h] [-f [FILTER [FILTER ...]]] [-r] [-d [DEVICES [DEVICES ...]]] [apkpath]\n\npositional arguments:\n  apkpath\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -f [FILTER [FILTER ...]], --filter [FILTER [FILTER ...]]\n                        filtered by file name\n  -r, --run             run app after install\n  -d [DEVICES [DEVICES ...]], --devices [DEVICES [DEVICES ...]]\n                        filter of devices, [a | n | serial] a: all devices n: index of devices list(start with 1)\n                        serial: devices serial (at least 2 char) not argument is show device list\n~~~\n---\n~~~\nadbt apk -h\nusage: adbt [options] apk [-h] [-r] [-d [DEVICES [DEVICES ...]]] [apkpath]\n\npositional arguments:\n  apkpath\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -r, --run             run app\n  -d [DEVICES [DEVICES ...]], --devices [DEVICES [DEVICES ...]]\n                        filter of devices, [a | n | serial] a: all devices n: index of devices list(start with 1)\n                        serial: devices serial (at least 2 char) not argument is show device list\n~~~\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2017 zheyu  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
    "summary": "A friendly android adb command-line tool",
    "version": "0.0.24",
    "project_urls": {
        "Bug Tracker": "http://github.com/litefeel/pycommon/issues",
        "Homepage": "http://github.com/litefeel/pycommon",
        "Repository": "http://github.com/litefeel/pycommon.git"
    },
    "split_keywords": [
        "android",
        "adb"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "997f32dae0dd3031f6cc20c2e537cdfad1a4b88e4f9b52823b2364ab64f45668",
                "md5": "ef41b6e4e81bf443b8c3e3ef52c8c36a",
                "sha256": "d78350cb65a7de45dc85c4869a414e5b1110b5611fd2dfe0a8f2ca11c90f3921"
            },
            "downloads": -1,
            "filename": "adbtool-0.0.24-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ef41b6e4e81bf443b8c3e3ef52c8c36a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 22828,
            "upload_time": "2024-01-31T08:36:56",
            "upload_time_iso_8601": "2024-01-31T08:36:56.738642Z",
            "url": "https://files.pythonhosted.org/packages/99/7f/32dae0dd3031f6cc20c2e537cdfad1a4b88e4f9b52823b2364ab64f45668/adbtool-0.0.24-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b8ce9851aafcf8966602b3f2aeaf9eac6eb0757edb758e5e9048e59687acd850",
                "md5": "0199c58acb7ab894b93dd18af18bcac4",
                "sha256": "a2a34894d23463d48ae10957a60de6f20b81d9c69739198e54d34faaf5259070"
            },
            "downloads": -1,
            "filename": "adbtool-0.0.24.tar.gz",
            "has_sig": false,
            "md5_digest": "0199c58acb7ab894b93dd18af18bcac4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 1127776,
            "upload_time": "2024-01-31T08:36:59",
            "upload_time_iso_8601": "2024-01-31T08:36:59.425257Z",
            "url": "https://files.pythonhosted.org/packages/b8/ce/9851aafcf8966602b3f2aeaf9eac6eb0757edb758e5e9048e59687acd850/adbtool-0.0.24.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-31 08:36:59",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "litefeel",
    "github_project": "pycommon",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "adbtool"
}
        
Elapsed time: 0.54739s