Skip to content

lufy90/pygui_rpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pygui_rpc

rpc server and client for pyautogui, you can make pyautogui calls with rpc

Quick start:

Server side:

## bash code
DISPLAY=:0 python server.py

Client side:

## python code
from client import Client

client = Client('http://localhost:8006')

# to move cursor to (10, 20)
ret = client.run('moveTo', 10, 20)

# to get screenshot of server
img = clent.run('screenshot')

You can make any pyautogui method by client.run(<method_name>, *<method_args>, **<method_kwargs>)

About

rpc server and client for pyautogui, you can make pyautogui calls with rpc

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages