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 sphinxcontrib-programscreenshot

How to install sphinxcontrib-programscreenshot

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install sphinxcontrib-programscreenshot
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.0.4
0.0.5Never BuiltWhy not?
0.0.4 Available View build log
0.0.3dev-20110422 Available View build log
0.0.2dev-20110223 Available View build log
0.0.1dev-20110212 Available View build log
Windows (64-bit)
0.0.4
0.0.5Never BuiltWhy not?
0.0.4 Available View build log
0.0.3dev-20110422 Failed View build log
0.0.2dev-20110223 Available View build log
0.0.1dev-20110212 Available View build log
Mac OS X (10.5+)
0.0.4
0.0.5Never BuiltWhy not?
0.0.4 Available View build log
0.0.3dev-20110422 Available View build log
0.0.2dev-20110223 Available View build log
0.0.1dev-20110212 Available View build log
Linux (32-bit)
0.0.4
0.0.5Never BuiltWhy not?
0.0.4 Available View build log
0.0.3dev-20110422 Available View build log
0.0.2dev-20110223 Available View build log
0.0.1dev-20110212 Available View build log
Linux (64-bit)
0.0.5 Available View build log
0.0.4 Available View build log
0.0.3dev-20110422 Available View build log
0.0.2dev-20110223 Available View build log
0.0.1dev-20110212 Available View build log
 
Links
Author
License
BSD
Lastest release
version 0.0.5 on Jan 9th, 2014

This Sphinx 1.0 extension executes programs during the build step and includes their screenshot into the documentation. GUI version of the sphinxcontrib.programoutput extension.

home: https://github.com/ponty/sphinxcontrib-programscreenshot

documentation: http://ponty.github.com/sphinxcontrib-programscreenshot

Basic usage

.. program-screenshot:: xmessage hello
    :prompt:

How it works

  1. start Xvfb headless X server using pyvirtualdisplay
  2. redirect program display to Xvfb server by setting $DISPLAY variable.
  3. wait some seconds
  4. take screenshot by pyscreenshot which needs scrot.
  5. use .. image:: directive to display image

Installation

General
  • install Xvfb and Xephyr

  • install PIL

  • install scrot

  • install pip

  • install the program:

    # as root
    pip install sphinxcontrib-programscreenshot
    
Ubuntu
sudo apt-get install python-pip
sudo apt-get install scrot
sudo apt-get install xvfb
sudo apt-get install xserver-xephyr
sudo apt-get install python-imaging
sudo pip install sphinxcontrib-programscreenshot
Uninstall
# as root
pip uninstall sphinxcontrib-programscreenshot

Subscribe to package updates

Last updated Jan 9th, 2014

Download Stats

Last month:7

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.