3 ms·
Not sure how good average is. For small-ish projects my experience is more like Python having like 5 of them, with a handful transitive each, if at all and in J
by wink 4y ago
Not sure how good average is. For small-ish projects my experience is more like Python having like 5 of them, with a handful transitive each, if at all and in JS with anything besides a hello world it's n^n^n.
The amount of stuff I've put into production with just flask + requests + dbsomething comes to mind, although I don't remember how many transitives those have.
- LtWorf 4y agoI could never understand why people insist on using requests rather than the stdlib (which works just fine). When async became a thing, I remember hitting some bug in aiohttp so I wrote myself a tiny (just doing the bit I needed) HTTP async client, which I figured was easier than wrestling aiohttp into compliance. These days aiohttp is quite nice for async, and for sync I just use the stdlib. My async client, if it can be of interest https://github.com/ltworf/localslackirc/blob/master/slackclient/http.py https://github.com/ltworf/localslackirc/blob/master/slackcli...
- wink 4y agoaiohttp is too new for the time I'm talking about. And no, I would not say that the stdlib was fine and requests was absolutley worth using in Python 2 :)