Hi,
I just saw this python package : PyDX which may answer your needs. The original URL is not working, but the svn location exists.
http://gr.anu.edu.au/svn/people/sdburton/pydx/doc/user-guide.html
svn co http://gr.anu.edu.au/svn/people/sdburton/pydx
br -osman