[Tutor] VIX API

Michael Langford mlangford.cs03 at gtalumni.org
Thu Oct 11 16:44:26 CEST 2007


There is a wrapper. It's called pyvix (http://sourceforge.net/projects/pyvix).
If you actually use it, let me know how it goes. I use vmware every day at
work and would love to control it via some python tools if the API functions
well. I've not had the time to play with it.

Creating your own wrapper using swig(http://www.swig.org/) is not a bad
exercise if you've not done it. Callbacks are the only part that I'd call
really *hard* about wrapping a C Api using python, but debugging is
definitely different across language boundaries if you've not done it
before.

Now if you're really feeling like you want to cause yourself some pain, you
can try to hand code a python extension...but I suggest you try the
automated tool first....

      --Michael

-- 
Michael Langford
Phone: 404-386-0495
Consulting: http://www.TierOneDesign.com/

On 10/11/07, Stephen Nelson-Smith <sanelson at gmail.com> wrote:
>
> Hello,
>
> Does anyone know if there are python bindings for the VMware VIX API?
>
> I googled for a bit, but didn't find them...
>
> How tricky would it be to wrap the C API?
>
> S.
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20071011/628d862e/attachment-0001.htm 


More information about the Tutor mailing list