Skip to content

Python interface - #36

Merged
larsblatny merged 14 commits into
masterfrom
python_interface
Sep 3, 2026
Merged

larsblatny merged 14 commits into
masterfrom
python_interface

Conversation

@larsblatny

Copy link
Copy Markdown
Owner

No description provided.

@larsblatny
larsblatny requested a review from SopFon August 14, 2026 14:13
@larsblatny

Copy link
Copy Markdown
Owner Author

After compiling matter as usual, any python script can be run using

PYTHONPATH=<path-to-matter>/matter/build/python python3 my_python_script.py

or as two separate commands (the first only needs to be done once)

export PYTHONPATH=<path-to-matter>/matter/build/python
python3 my_python_script.py

@larsblatny

Copy link
Copy Markdown
Owner Author

@SopFon could you check out the proposed fix I made to the regular sampling functions and let me know if this is right?
If you would also like to test the new python interface, I would be very happy to hear if it works well for you. :)

@SopFon SopFon left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @larsblatny! Yes, the fixes to the sampling functions are great. I've also run some tests to check them operationally and everything is working fine.

As for the Python interface, it's working great!

@larsblatny

Copy link
Copy Markdown
Owner Author

@SopFon excellent, thanks a lot for checking!

@larsblatny
larsblatny merged commit b41eda9 into master Sep 3, 2026
1 check passed
@larsblatny
larsblatny deleted the python_interface branch September 3, 2026 16:29
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

Successfully merging this pull request may close these issues.

2 participants