UPDATE : I’ve moved this project to github. You should check there for the latest version.
Here‘s some Python module I’ve developed long time ago, still sometimes work on it. It’s not finished and I’m not sure if it’ll ever be, but the whole point is retrieving data from the CDS-SIMBAD server of some specific astronomical object, and to handle it as a Python object.
You can import it as a Python module or you can just use it as a standalone script. It isn’t dependent of any other Python module. Simply uses the urllib2, sys, re modules which are standard.
It connects to the SIMBAD servers via http connection and handles the HTML pages with regular expressions.
The current version is 0.0.7 and as you can see in the codes, it was developed in December 2010, so yes, I haven’t had the time to update the codes that much.