The last Micro Web Server for IoTs (MicroPython) or large servers (CPython), that supports WebSockets, routes, template engine and with really optimized architecture (mem allocations, async I/Os). Ready for ESP32, STM32 on Pyboard, Pycom's chipsets (WiPy, LoPy, ...). Robust, efficient and documented!
Hi,
I ultimately am trying to install MicroWebSrv and MicroWebSrv2 on an rp2 (pico w). I encountered memory issues so I now trying to install in the unix (MacOs) port of micropython.
The best I can determine is no json is being returned (after reviewing urequests source)
My goal is to us mpy-cross to generate mpy and see if I can get it to fit on the rp2 hardware. I'm open to manually installing (did that on the rp2 hw but couldn't get it to load properly'. If someone has the installed in a lib I'd appreciate a listing of the library and subdirs so I can mimic w/ mpy.
Hi, I ultimately am trying to install MicroWebSrv and MicroWebSrv2 on an rp2 (pico w). I encountered memory issues so I now trying to install in the unix (MacOs) port of micropython.
The best I can determine is no json is being returned (after reviewing urequests source)
mip.install('https://github.com/jczic/MicroWebSrv2.git#egg=MicroWebSrv2') Installing https://github.com/jczic/MicroWebSrv2.git#egg=MicroWebSrv2/package.json to /Users/foo/.micropython/lib Traceback (most recent call last): File "", line 1, in
File "mip.py", line 166, in install
File "mip.py", line 153, in _install_package
File "mip.py", line 102, in _install_json
File "urequests.py", line 32, in json
ValueError: syntax error in JSON
Are others able to install via mip?
My goal is to us mpy-cross to generate mpy and see if I can get it to fit on the rp2 hardware. I'm open to manually installing (did that on the rp2 hw but couldn't get it to load properly'. If someone has the installed in a lib I'd appreciate a listing of the library and subdirs so I can mimic w/ mpy.
Thanks