Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install pyvirtualdisplay

How to install PyVirtualDisplay

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install pyvirtualdisplay
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.1.0
0.1.2Never BuiltWhy not?
0.1.0 Available View build log
0.0.9 Available View build log
0.0.8 Available View build log
0.0.7 Available View build log
0.0.6 Available View build log
0.0.5 Available View build log
0.0.3 Available View build log
0.0.2 Available View build log
0.0.1 Available View build log
0.0.0 Available View build log
Windows (64-bit)
0.1.0
0.1.2Never BuiltWhy not?
0.1.0 Available View build log
0.0.9 Available View build log
0.0.8 Available View build log
0.0.7 Available View build log
0.0.6 Available View build log
0.0.5 Available View build log
0.0.3 Failed View build log
0.0.2 Available View build log
0.0.1 Available View build log
0.0.0 Available View build log
Mac OS X (10.5+)
0.1.0
0.1.2Never BuiltWhy not?
0.1.0 Available View build log
0.0.9 Available View build log
0.0.8 Available View build log
0.0.7 Available View build log
0.0.6 Available View build log
0.0.5 Available View build log
0.0.3 Available View build log
0.0.2 Available View build log
0.0.1 Available View build log
0.0.0 Available View build log
Linux (32-bit)
0.1.0
0.1.2Never BuiltWhy not?
0.1.0 Available View build log
0.0.9 Available View build log
0.0.8 Available View build log
0.0.7 Available View build log
0.0.6 Available View build log
0.0.5 Available View build log
0.0.3 Available View build log
0.0.2 Available View build log
0.0.1 Available View build log
0.0.0 Available View build log
Linux (64-bit)
0.1.2 Available View build log
0.1.0 Available View build log
0.0.9 Available View build log
0.0.8 Available View build log
0.0.7 Available View build log
0.0.6 Available View build log
0.0.5 Available View build log
0.0.3 Available View build log
0.0.2 Available View build log
0.0.1 Available View build log
0.0.0 Available View build log
 
Author
License
BSD
Dependencies
Lastest release
version 0.1.2 on Jan 9th, 2014

pyvirtualdisplay is a python wrapper for Xvfb, Xephyr and Xvnc

Links:
Features:
  • python wrapper
  • supported python versions: 2.5, 2.6, 2.7, 3.1, 3.2, PyPy
  • back-ends: Xvfb, Xephyr, Xvnc

Warning

at least one back-end should be installed

Known problems:
  • only a few back-end options are supported
Possible applications:
  • GUI testing
  • automatic GUI screenshot

Basic usages

Start Xephyr:

from pyvirtualdisplay import Display
xephyr=Display(visible=1, size=(320, 240)).start()

Create screenshot of xmessage with Xvfb:

from easyprocess import EasyProcess
from pyvirtualdisplay.smartdisplay import SmartDisplay
with SmartDisplay(visible=0, bgcolor='black') as disp:
    with EasyProcess('xmessage hello'):
        img = disp.waitgrab()
img.show()

Installation

General
  • install Xvfb or Xephyr or Xvnc.

  • install pip

  • optional: pyscreenshot and PIL should be installed for smartdisplay submodule

  • install the program:

    # as root
    pip install pyvirtualdisplay
    
Ubuntu
sudo apt-get install python-pip
sudo apt-get install xvfb
sudo apt-get install xserver-xephyr
sudo apt-get install tightvncserver
sudo pip install pyvirtualdisplay
# optional
sudo apt-get install python-imaging
sudo apt-get install scrot
sudo pip install pyscreenshot
# optional for examples
sudo pip install entrypoint2
Uninstall
# as root
pip uninstall pyvirtualdisplay

Subscribe to package updates

Last updated Jan 9th, 2014

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.