pyembryo is a minimal GUI toolkit for Python. It can be used to "boot-strap" the user into downloading a larger GUI toolkit such as PyGTK, PyGame, pyglet, PyOpenGL, etc.
There are two main functions:
· message_box() displays an alert dialog to the user and waits for them to close it. It can contain either a single OK button, or an OK and a Cancel button.
· open_url() opens a website in the user's default web browser.
There are several convenience functions for checking that a minimum version of a package is installed. For example, to check that PyGame 1.7 or later is installed:
import embryo
if not embryo.check_pygame('1.7'):
# Exit.
Usage
embryo.py is less than 4kb compressed. Drop the latest version into your project and import it as shown above. Don't bother requiring users to install it -- that defeats its whole purpose!
Product's homepage
Requirements:
· GTK-2.0 or later