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

What? FastAPI is certainly not single file: https://github.com/tiangolo/fastapi/tree/master/fastapi

The issue is talking about Bottle the framework itself being a single file, bottle.py.



oh my bad. That's interesting, but im not sure about utility.

Because everyone literally uses package management to install and maintain bottle.

Bottle has code like this - https://github.com/bottlepy/bottle/blob/master/bottle.py#L81... - which does check for external dependencies (which predicate a package manager)


not really.. it uses ujson if it is installed and falls back to the built in json. Hard to call something a dependency when you don't depend on it.


Those are often called optional dependencies. Which is of course an oxymoron.




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

Search: