Skip to main content

python wrapper for ldplayer

Project description

pyldplayer

python wrapper for ldplayer

Installation

pip install pyldplayer

usage

you can refer to cli doc for all options

in addition, this library also supports loading record, keyboard mapping into pydantic dataclasses

from time import sleep
from pyldplayer import LDAutoGui
from pyldplayer import LDConsole

x = LDConsole("xxxxxxxxxxxxxxxxxxxxx")
autox = LDAutoGui(x)

w = x[3]
w.launch()
autow = autox.waitFor(3)
autow.screenshot()

oprr = autow.operationRecorder()
oprr.runScript(3)

changelog

  • fixed instance will be terminated if script ended
  • fixed unsanitized query results
  • fully documented

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyldplayer-1.0.1.tar.gz (15.6 kB view hashes)

Uploaded Source

Built Distribution

pyldplayer-1.0.1-py3-none-any.whl (18.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page