Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose the requests interface to the top package #424

Open
lexiforest opened this issue Oct 30, 2024 · 0 comments
Open

Expose the requests interface to the top package #424

lexiforest opened this issue Oct 30, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@lexiforest
Copy link
Owner

As we have observed how people are using curl_cffi, it seems that curl_cffi almost always co-exists with requests, thus making the intended way of from curl_cffi import requests less useful. A lot of people are using something like this:

from curl_cffi import requests as curl_requests

curl_requests.get(url, ...)

After this change, users can do this

import curl_cffi

curl_cffi.get(url, ...)

Much fewer keystrokes!

@lexiforest lexiforest added the enhancement New feature or request label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant