PyXG = Python + Xgrid
PyXG provides a Python interface to Apple's Xgrid. Xgrid is Apple's solution for running jobs on a cluster of Macintosh computers. PyXG enables users to submit and manage Xgrid jobs on a cluster from a Python script or within an interactive Python session.
PyXG is now being hosted on Launchpad here.
The latest code for PyXG can be retrieved from the Launchpad site using bzr.
PyXG has a Google Groups mailing list for users and developers.
Somewhat outdated API docs for for PyXG can be found here.
With PyXG you can:
- Start and manage Xgrid jobs quickly using Python's elegant syntax.
- Use Xgrid from within Python scripts as well as in interactive Python sessions.
- Submit and manage simple (one task) and batch (many task) Xgrid jobs.
- Get job information and retrieve job results
- Work with multiple Xgrid controllers and grids simultaneously.
Roughly speaking, there are two client interfaces to Xgrid: an "xgrid" command line and a Cocoa framework called XgridFoundation.
Currently, the Python to Xgrid communication in PyXG is implemented through a set of Python classes that wrap the Xgrid command line. The Cocoa API is not used in PyXG as it is designed to be used in GUI Cocoa applications where the Cocoa event loop (an NSRunloop instance) is running. If you are developing Cocoa-Python GUI applications, PyObjC has wrapped the XgridFoundation framework.