ldplayer-tools


Nameldplayer-tools JSON
Version 0.0.3 PyPI version JSON
download
home_pagehttps://github.com/mantvmass/ldplayer
SummaryThis is package for ldplayer emulator control software. (unofficial)
upload_time2024-05-18 13:32:20
maintainermantvmass (Phumin Maliwan)
docs_urlNone
authormantvmass (Phumin Maliwan)
requires_pythonNone
licenseNone
keywords python ldplayer ldplayer-tools python-ldplayer
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            LDPlayer Tools
==============
This is package for ldplayer emulator control software. (unofficial)

#### Table of contents

* [Install](#install)
* [Other libraries](#other-libraries)
* [Environments](#environments)
* [Example](#example)
* [License](#license)

#### Contribute to ldplayer
Please fork and create a pull request 🙂


Install
==========
```shell
pip install ldplayer-tools
```

Other libraries
===============
other libraries that may be needed for your automation
* __uiautomator2__ [repo](https://github.com/openatx/uiautomator2)
* __pure-python-adb__ [repo](https://github.com/Swind/pure-python-adb)
* __weditor__ [repo](https://github.com/alibaba/web-editor)

Environments
============
* __ldplayer 9__
* __python 3.11__
* __pure-python-adb__

Example
=======

manage instance
```python
from ldplayer import LDPlayer

ld = LDPlayer("path/to/ldconsole.exe")
print(ld.instances())
```

tap or swipe event
```python
from ppadb.client import Client as AdbClient
from ldplayer import Controller

client = AdbClient(host="127.0.0.1", port=5037)
device = client.device("emulator-5554") # or your device name

ldc = Controller(device)
ldc.tap(x=10, y=10)
```

License
==========
This package is open-sourced software licensed under the [MIT license](https://github.com/mantvmass/ldplayer/blob/main/LICENSE).


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/mantvmass/ldplayer",
    "name": "ldplayer-tools",
    "maintainer": "mantvmass (Phumin Maliwan)",
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": "kliop2317@gmail.com",
    "keywords": "python, ldplayer, ldplayer-tools, python-ldplayer",
    "author": "mantvmass (Phumin Maliwan)",
    "author_email": "kliop2317@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/cc/2e/d570740a7aa8a1c6c00a142309e233b2f04f3a8cbf73c870bb49805d019c/ldplayer-tools-0.0.3.tar.gz",
    "platform": null,
    "description": "LDPlayer Tools\r\n==============\r\nThis is package for ldplayer emulator control software. (unofficial)\r\n\r\n#### Table of contents\r\n\r\n* [Install](#install)\r\n* [Other libraries](#other-libraries)\r\n* [Environments](#environments)\r\n* [Example](#example)\r\n* [License](#license)\r\n\r\n#### Contribute to ldplayer\r\nPlease fork and create a pull request \ud83d\ude42\r\n\r\n\r\nInstall\r\n==========\r\n```shell\r\npip install ldplayer-tools\r\n```\r\n\r\nOther libraries\r\n===============\r\nother libraries that may be needed for your automation\r\n* __uiautomator2__ [repo](https://github.com/openatx/uiautomator2)\r\n* __pure-python-adb__ [repo](https://github.com/Swind/pure-python-adb)\r\n* __weditor__ [repo](https://github.com/alibaba/web-editor)\r\n\r\nEnvironments\r\n============\r\n* __ldplayer 9__\r\n* __python 3.11__\r\n* __pure-python-adb__\r\n\r\nExample\r\n=======\r\n\r\nmanage instance\r\n```python\r\nfrom ldplayer import LDPlayer\r\n\r\nld = LDPlayer(\"path/to/ldconsole.exe\")\r\nprint(ld.instances())\r\n```\r\n\r\ntap or swipe event\r\n```python\r\nfrom ppadb.client import Client as AdbClient\r\nfrom ldplayer import Controller\r\n\r\nclient = AdbClient(host=\"127.0.0.1\", port=5037)\r\ndevice = client.device(\"emulator-5554\") # or your device name\r\n\r\nldc = Controller(device)\r\nldc.tap(x=10, y=10)\r\n```\r\n\r\nLicense\r\n==========\r\nThis package is open-sourced software licensed under the [MIT license](https://github.com/mantvmass/ldplayer/blob/main/LICENSE).\r\n\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "This is package for ldplayer emulator control software. (unofficial)",
    "version": "0.0.3",
    "project_urls": {
        "Homepage": "https://github.com/mantvmass/ldplayer"
    },
    "split_keywords": [
        "python",
        " ldplayer",
        " ldplayer-tools",
        " python-ldplayer"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ef6bab29594420a64e83a7fe04a7a0f22caaa3524280b698f851d71cc843da4d",
                "md5": "b3750534dd75e822c331ae8fffe42b30",
                "sha256": "34c26aa984a6eb5fada7b57118cd020d90001a3f90e0a5d05104e6624231368b"
            },
            "downloads": -1,
            "filename": "ldplayer_tools-0.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b3750534dd75e822c331ae8fffe42b30",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 4470,
            "upload_time": "2024-05-18T13:32:19",
            "upload_time_iso_8601": "2024-05-18T13:32:19.200129Z",
            "url": "https://files.pythonhosted.org/packages/ef/6b/ab29594420a64e83a7fe04a7a0f22caaa3524280b698f851d71cc843da4d/ldplayer_tools-0.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cc2ed570740a7aa8a1c6c00a142309e233b2f04f3a8cbf73c870bb49805d019c",
                "md5": "5b4500881e528ab4dcfedfd47a4c9f96",
                "sha256": "5a02d4ba02657a665742c784dc0c38cf35bb7a3590c12998bdc2cd0f88cbd2ca"
            },
            "downloads": -1,
            "filename": "ldplayer-tools-0.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "5b4500881e528ab4dcfedfd47a4c9f96",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3779,
            "upload_time": "2024-05-18T13:32:20",
            "upload_time_iso_8601": "2024-05-18T13:32:20.371464Z",
            "url": "https://files.pythonhosted.org/packages/cc/2e/d570740a7aa8a1c6c00a142309e233b2f04f3a8cbf73c870bb49805d019c/ldplayer-tools-0.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-18 13:32:20",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "mantvmass",
    "github_project": "ldplayer",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "ldplayer-tools"
}
        
Elapsed time: 0.26244s