Bot API for Python: Replace drawsvg with our graphics#162
Bot API for Python: Replace drawsvg with our graphics#162flemming-n-larsen merged 10 commits intomainfrom
Conversation
flemming-n-larsen
commented
Aug 29, 2025
- Replaces the drawsvg library with our own lightweight and fast SVG renderer which is consistent between all bot APIs for all supported platforms/languages (Java, C#/.Net, Python, Wasm)
- Created tests for the new graphics classes.
- Added PaintingBot.py that demonstrates the paintings.
- Improved README with info for running the tests.
- Introduced `pytest` and test setup in `requirements-test.txt` and `build.gradle.kts`. - Updated imports to rename `SvgGraphicsABC` and route `Color` through `graphics` module. - Documented `test` Gradle task usage in README.
# Conflicts: # bot-api/python/build.gradle.kts
…legacy import path
… abstraction and update related dependencies
This reverts commit 01619c7.
|
@yangli2 I should like you to review this PR. And you can try out the PaintingBot.py sample bot to see the painting. It pust a filled red circle on its target. Note: |
|
I merge this to the branch now and start working on:
|
|
Oops, sorry I missed your earlier msg and just saw this - if you don't mind sending the invite again I can accept (the previous one expired). I'll take a look at the changes and see if there is anything that needs doing. |
|
@yangli2 I sent another request and granted you "read" access. I can give you more privileges, if you need it in the future. |