juancarlospaco

Juan Carlos

Posted on May 20, 2019

Faster Than Requests

Faster Than Requests

Library Speed Files LOC Dependencies Developers
PyWGET 152.39 1 338 Wget >17
Requests 15.58 >20 2558 >7 (Depends on Urllib3) >527
Requests (pre-Cached) 5.50 >20 2558 >7 (Depends on Urllib3) >527
Urllib 4.00 ??? 1200 0 (std lib) ???
Urllib3 3.55 >40 5242 0 (No SSL), >5 (SSL) >188
PyCurl 0.75 >15 5932 Curl, LibCurl >50
PyCurl (no SSL) 0.68 >15 5932 Curl, LibCurl >50
Faster_than_requests 0.45 1 75 0 1

faster_than_requests new Version release!,
uploaded to PyPI, PIP installable,
we added new Documentation, Examples, Dockerfile, test, Proxy, FAQ, CoC, Debug, Bug Fixes, JSON helpers, Environment Variables awareness, +200 Commits, and a lot more to come!.

faster_than_requests its an alternative to the requests and HTTPS Clients on Python 3,
15 times faster than Requests, 2 times faster than PyCurl,
0 dependencies, 1 file, ~100 Lines of code.

The API is simple, instead of having a pair of functions with a lot of arguments that you should provide to make it work,
we have tiny functions with very few arguments that do one thing and do it as fast as possible.

Has extra functions requested by people and oriented towards
Data Science, Big Data, Open Data, Web Scrapping, working with HTTP REST JSON APIs.

  • We have a Docker to test drive it without installing anything.

New Documentation has all functions with detailed arguments and returns with types.

Requests depends on Urllib3

Requests now depends on Urllib3, making the total of Lines of Code >8.000.

8.000 Lines of Code to download a Cat Meme.

faster_than_requests replaces 8.000 LoC with ~100 LoC :)

We also have no Dependencies, nor Fundraising.

Hello World

import faster_than_requests as req

print(req.gets("http://example.org/get"))                     # GET
print(req.posts("http://example.org/post", "Some Data Here")) # POST
Enter fullscreen mode Exit fullscreen mode

Get it while its hot

Please Star faster_than_requests on GitHub!, awesome stuff incoming...

💖 💪 🙅 🚩
juancarlospaco
Juan Carlos

Posted on May 20, 2019

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

Faster Than Requests
python Faster Than Requests

May 20, 2019