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.autogui.player import LDAutoPlayer
from pyldplayer.console.player import LDConsolePlayer
console = LDConsolePlayer(path)
auto = LDAutoPlayer(x)
cinstance = console[3]
cinstance.launch()
sleep(2)
autoinstance = auto["some name"]
autoinstance.fullscreen()
changelog
- fixed instance will be terminated if script ended
- fixed unsanitized query results
- fully documented
Project details
Release history Release notifications | RSS feed
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.0a0.tar.gz
(2.4 kB
view details)
File details
Details for the file pyldplayer-1.0.0a0.tar.gz
.
File metadata
- Download URL: pyldplayer-1.0.0a0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c395ab87400d5fb28ed12f19e1a9343f0c71b49fe3738a3b8dad95471f8fb3f8 |
|
MD5 | e592114db5ea344d5e6cca00f6c9864a |
|
BLAKE2b-256 | 6ebd942e85692b0dfb08a69eff39abd0d8362b8804a465acbaf3e9d031a68a11 |