Skip to content

Conversation

JakubAndrysek
Copy link
Contributor

This pull request introduces a synchronous API to the Wokwi Python Client, alongside several new features for interacting with the Wokwi Simulation API. The documentation is updated to reflect these changes, and new examples are provided demonstrating both async and sync usage. The core highlights are the addition of the WokwiClientSync class, new methods for serial and GPIO interaction, and improved documentation and examples.

@JakubAndrysek JakubAndrysek marked this pull request as draft August 12, 2025 14:53
@JakubAndrysek JakubAndrysek marked this pull request as ready for review August 12, 2025 15:10
@JakubAndrysek
Copy link
Contributor Author

#1 successor adding documentation and synchronous client.

@JakubAndrysek
Copy link
Contributor Author

It looks like it depends on Python version
https://github.com/JakubAndrysek/wokwi-python-client/actions/runs/16912903353/job/47919152585

My action:
image

@JakubAndrysek
Copy link
Contributor Author

Now all tests passed
image

@urish
Copy link
Contributor

urish commented Aug 17, 2025

Thanks for the PR!

Can you please:

  1. Split it into specific pull requests (e.g. one for adding the framebuffer functions, one for adding the sync client functions etc)
  2. Look into a better way to handle the sync client without repeating all the functions definitions of the sync client? Perhaps something with decorators? I guess GPT can help exploring solutions.

@JakubAndrysek
Copy link
Contributor Author

  1. Yes, ok. I will divide it next week.

  2. Hm, I will look at possible solutions and I will try to find less duplicative solution.

@JakubAndrysek JakubAndrysek marked this pull request as draft August 20, 2025 09:20
@JakubAndrysek JakubAndrysek changed the title feat: add pin control and reading functionalities feat: add pin control, frame-buffer,... (divided into multiple PRs) Aug 20, 2025
@urish urish closed this Aug 20, 2025
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