Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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

Also, if wasmer supports Starlette, I assume it would support FastHTML (web framework that uses Starlette under the hood) ?



Yes, since it supports Starlette/ASGI, FastHTML should work just fine.


FastHTML 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)


Sounds awesome!


Actually I’d imagine probably scheduling won’t work at all with wasmer?


Wasmer 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!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: