wokwi / wokwi-features

Wokwi Feature requests & Bug Reports
https://wokwi.com
72 stars 17 forks source link

upip support for micropython (requirements.txt) #276

Open traverseda opened 2 years ago

traverseda commented 2 years ago

One of the main selling points of micropython is the ability to dynamically load code. Support for upip, from the library manager (a requirements.txt file) would be very useful.

urish commented 2 years ago

Would adding a requirements.txt that will installed the packages when your project is running do the trick?

traverseda commented 2 years ago

I think it's reasonable to separate it into two separate issues, one for static requirements.txt based modules and one for dynamically loaded modules. My understanding is that currently the flash isn't writable? I think being able to statically add libraries to requirements.txt is more important.

Eventually I'd like to include an "app store" type feature, which would need to be able to install upip packages at run time, but it's not a high priority.