juancarlospaco / faster-than-requests

Faster requests on Python 3
https://gist.github.com/juancarlospaco/37da34ed13a609663f55f4466c4dbc3e
MIT License
1.1k stars 89 forks source link

async support #167

Closed ekremus closed 3 years ago

ekremus commented 3 years ago

Hello, Will there be async library support in the future?

Additionay, when using pip to install on pycharm, there is problem occurs. (Im using, latest pip and latest pycharm)

WARNING: Discarding https://files.pythonhosted.org/packages/f0/9b/f392487c0ddb086aad681a781fbb1da4fcd2761920d20cfae18ecb724e67/faster_than_requests-21.03.03.zip#sha256=3cc247556e10c64d8897933304670c873236026b 4ef9f219215b124e990c2dac (from https://pypi.org/simple/faster-than-requests/) (requires-python:>=3.6). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. ERROR: Could not find a version that satisfies the requirement faster_than_requests (from versions: 21.3.3) ERROR: No matching distribution found for faster_than_requests

juancarlospaco commented 3 years ago

It is async internally already, for example the Web Socket is async.

Public API can not have async, because Python does not support Closures, real Closures not workarounds that resemble a Closure, not my bug.

Terminals inside IDE sometimes are buggy, try on the system terminal window (Bash or PowerShell).

The error is a PIP/Pypi error, that error does not come from our code. Git clone and compile if PIP keeps giving you errors.