Python node [GOT CREATED]

New thread is here.
Thank you for your help!

i was just testing docker v1.0.2 with the python code functionality.

It doesn’t seem to have simple modules like “requests”

ERROR: ModuleNotFoundError: No module named 'requests'

any ideas on how to get these added/supported?

Hey @RedPacketSec,

The modules are limited to whatever has been submitted to Pyodide, You can find the list here: https://github.com/pyodide/pyodide/tree/0.22.1/packages

I guess if you wanted Requests added / supported the maintainers for requests would need to submit it.

1 Like

Good news, The Python node was released with 1.0. I am going to move this to the done category so that you can all have your vote back :slight_smile:

are there going to be improvements for this functionality?
As the python library used is so restrictive when using docker and not having full python ability to pull modules in.

Ive had to revert back to SSHing to a linux box doing the python there dumping to a json file and pulling that back in.

Hey @RedPacketSec,

There may be improvements over time and of course as Pyodide improves we get those changes as well.