3 ms·
Would the app have outbound network access to do some Python scheduling stuff that involves pulling from another endpoint? Eg something like this flask-based a
by indigodaddy 1y ago
Would the app have outbound network access to do some Python scheduling stuff that involves pulling from another endpoint?
Eg something like this flask-based app? (Yes the code is shit, I’m just a sysadmin learning Python with some AI support at that time).
https://github.com/jgbrwn/my-upc/blob/main/app.py https://github.com/jgbrwn/my-upc/blob/main/app.py
Also, if wasmer supports Starlette, I assume it would support FastHTML (web framework that uses Starlette under the hood) ?
- jph00 1y agoYes, since it supports Starlette/ASGI, FastHTML should work just fine.
- syrusakbary 1y agoFastHTML requires apsw (SQLite wrapper) even if you don't use it. We already compiled apsw to WASIX but it also requires publishing a new version of Python to Wasmer (with sqlite dynamically linked instead of statically linked). We will release a new Python version by the end of this week / beginning of next one, so by then FastHTML should be fully work in Wasmer! (both runtime and Edge)
- indigodaddy 1y agoSounds awesome!
- indigodaddy 1y agoActually I’d imagine probably scheduling won’t work at all with wasmer?
- syrusakbary 1y agoWasmer already support jobs (cron jobs, and jobs after certain triggers: deployment, app creation, ...), although is not fully documented yet. We'll be improving our docs soon!