feat: add embeddedpy-bridge as a ZPM dependency #14
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description:
This PR integrates the embeddedpy-bridge library as a core dependency. This addition significantly improves the Developer Experience when working with Embedded Python inside ObjectScript by providing high-level wrappers and a more intuitive syntax.
Key Changes:
Dependency Management: Added embeddedpy-bridge to module.xml.
$$$pyDict: Instantly creates a Python-wrapped Dictionary. No need to manage proxies manually.$$$pyList: Instantly creates a Python-wrapped List (Note: Ensure your macro is mapped to pyList for consistency).$$$pyJSON(obj): Converts a native IRIS Dynamic Object directly into a Python object.and it includes features such as create and iterate the python dictionary and list in iris syntax
Why this is beneficial:
Readability: Reduces boilerplate code by ~30% in typical Python-heavy ObjectScript classes.
Standardization: Provides a common "bridge" pattern that is easier for beginners to learn than raw proxy manipulation.
Community Post: https://community.intersystems.com/post/embeddedpy-bridge-toolkit-embedded-python