pyembryo 1.0

pyembryo is a minimal GUI toolkit for Python.
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 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!

last updated on:
May 29th, 2008, 3:10 GMT
developed by:
Alex Holkner
license type:
GPL (GNU General Public License) 
ROOT \ Programming \ UI (User Interfaces)


In a hurry? Add it to your Download Basket!

user rating 11



Add your review!