OpenZWave / python-openzwave

Python wrapper for openzwave
Other
200 stars 141 forks source link

cython, pybind and cffi #95

Open bibi21000 opened 7 years ago

bibi21000 commented 7 years ago

Should we change ? Use one ? Many ?

cython :

pybind :

cffi :

many : develop a "common interface" to all backends and a way to use the right one (using flavors)

Users advices See #93

NotTheEvilOne commented 7 years ago

Dear @bibi21000, dear developers,

After some other projects being finally finished I had a look at what changed for "python-openzwave" since #59. Fortunately for the pybind11 implementation (which was mostly finished in February) not that many things changed.

The new Makefile and setup.py look even more overloaded thought. I wonder how I could support the development for "python-openzwave" the best way.

After digging around at the changes of command.py and node.py I really want to implement a generic way to include only interfaces a physical Z-Wave node has and a new callback system to have an extendible platform in Python for future improvements.

Here are the options I see so far (please don't be irritated, I'm here for discussion):

What do you think would be the best option for the Python-bindings for OZW?

Best regards Tobias