skip to navigation
skip to content

discogui 0.0.1

GUI discovery

Downloads ↓

discogui discovers GUI elements

Links:
Features:
  • python module
  • works on Linux
  • does not depend on Accessibility technologies
  • toolkit independent
  • only basic tests on very simple GUI
  • GUI should be displayed on Xvfb or Xephyr
  • slow
Known problems:
  • Python 3 is not supported
Possible applications:
  • GUI unit-testing
  • automatic GUI control

Basic usage

from discogui.buttons import discover_buttons
from easyprocess import EasyProcess
from pyvirtualdisplay import Display
buttons = Display().wrap(
            EasyProcess('zenity --question').wrap(
                discover_buttons, delay=1))
print buttons()

Installation

General

  • install Xvfb and Xephyr

  • install Xlib

  • install scrot

  • install PIL

  • install xdotool

  • install setuptools

  • install latest PyMouse and the program:

    # as root
    easy_install https://github.com/pepijndevos/PyMouse/zipball/master
    easy_install discogui
    

Ubuntu

sudo apt-get install python-setuptools
sudo apt-get install xvfb
sudo apt-get install xserver-xephyr
sudo apt-get install python-xlib
sudo apt-get install scrot
sudo apt-get install python-imaging
sudo apt-get install xdotool

# PyPI version of PyMouse is too old, this is the latest
sudo easy_install https://github.com/pepijndevos/PyMouse/zipball/master

sudo easy_install discogui

Uninstall

# as root
pip uninstall discogui
 
File Type Py Version Uploaded on Size # downloads
discogui-0.0.1.tar.gz (md5) Source 2011-11-18 40KB 206