seeing-things / zwo

ZWO SDK and custom software for debugging and using it.
24 stars 4 forks source link

ZWO ASI SWIG improvements #35

Closed bgottula closed 4 years ago

bgottula commented 4 years ago

This adds Python support for all of the API calls in the ZWO ASI library. This required a bit of fancy SWIG wrangling and hand-coded Python wrappers but the end result is that most of the function calls are reasonably Pythonic which makes it much easier to use.

This also adds a unit test file (OMG!!) but due to the nature of this code it can only be run with a camera connected.

This also fixes up setup.py so that pip is able to correctly run SWIG. Epic.