Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adapted some code to be callable from python #22

Open
step21 opened this issue Feb 10, 2025 · 3 comments
Open

adapted some code to be callable from python #22

step21 opened this issue Feb 10, 2025 · 3 comments

Comments

@step21
Copy link

step21 commented Feb 10, 2025

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
Copy link
Author

step21 commented Feb 18, 2025

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

@vladkens
Copy link
Owner

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?

@step21
Copy link
Author

step21 commented Feb 24, 2025

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants