macmon icon indicating copy to clipboard operation
macmon copied to clipboard

adapted some code to be callable from python

Open step21 opened this issue 10 months ago • 3 comments

just as a heads up, I adapted some of your rust code to function as a python module to be callable from python. I'll probably publish a first version soon.

step21 avatar Feb 10 '25 15:02 step21

You can find it here https://github.com/step21/pymacjoule/ Not on pypi yet though.

step21 avatar Feb 18 '25 11:02 step21

Hi, @step21. Nice job. Do you want to have this code to be merged into macmon (or make macmon as lib too)? Or its okay to have it like now?

vladkens avatar Feb 24 '25 19:02 vladkens

For me it is okay to have it like it is now. It would probably be more work to include it into macmon, as I had to add some macros and additional trait for supporting the python exports. Though if you want to do that, sure go ahead. I only hope in case you do updates to newer firmwares etc that it will not be too much work to keep up :)

step21 avatar Feb 24 '25 20:02 step21