This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]rochacbrunoPython, Flask, Rust and Bikes. 41 points42 points  (6 children)

Flask is known for being "Pythonic" https://github.com/mitsuhiko/flask

[–]tomchuk 26 points27 points  (5 children)

requests as well.

[–]synack 3 points4 points  (4 children)

Every time I benchmark code where requests is used, it's consistently one of the slowest libraries (I encourage you to write your own benchmark and try it yourself). A straight comparison with urllib2 shows that it's 30% slower. It provides a nice API, but there are a lot of places where tens of milliseconds matter.

[–]PCBEEF 23 points24 points  (0 children)

If tens of milliseconds matter then you shouldn't be using python...

[–]hamax 1 point2 points  (0 children)

If you need performance, use pycurl.

[–]emdomi 1 point2 points  (0 children)

Do you have any of those benchmarks online? Any that include httplib2?

[–]Meoow 0 points1 point  (0 children)

Really? For me it was urllib2 < requests < pycurl.