Skip to content

Conversation

@its-ChaTTy
Copy link

@its-ChaTTy its-ChaTTy commented Jun 23, 2024

This PR aims to add the support of PyScript in activecode. PyScript enables Python code to run directly in the web browser using technologies like Emscripten and WebAssembly. This allows Python code to be executed without the need for servers or complex configurations.

The component can be directly called using :python3_interpreter: pyscript.

Example:
image
image

@sujith-rek
Copy link

It looks interesting. Did you pull these changes to PyZombis and test whether this works well for the external libraries like pandas, numpy?

@its-ChaTTy
Copy link
Author

It looks interesting. Did you pull these changes to PyZombis and test whether this works well for the external libraries like pandas, numpy?

Thanks for pointing that out @sujith-rek , I forgot to include the pandas package in the config but now I have included it & as you can see it works perfectly fine.

image

Copy link
Member

@NicolasSandoval NicolasSandoval left a comment

Choose a reason for hiding this comment

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

@its-ChaTTy Great job, I took a look at PyAr/PyZombis#366 and it works fine. Thank you.

@NicolasSandoval NicolasSandoval merged commit 4a9ef5b into PyAr:master Jul 11, 2024
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.

3 participants