Skip to content

Add async support #79

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

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

Add async support #79

wants to merge 14 commits into from

Conversation

Ousret
Copy link

@Ousret Ousret commented Apr 21, 2025

Hello there,

I recently saw your service, and was trying to integrate it within an ASGI micro-service mix with AI for personal usage.
The thing is that you don't have async support, this solves that.

The PR makes some general improvements to the package itself.

In a nutshell:

  • Swap Requests for compatible Niquests
  • Persist a Session instead of continuously re-do things like TLS handshake
  • Add asynchronous classes that mirror exactly the synchronous ones
  • Migrate the project metadata to pyproject.toml
  • Fix warnings emitted by latest Flake8
  • Minor update to the CI
  • Bump the version to 3.0.0 (major)

Close #72
Close #58

@marm123
Copy link

marm123 commented Apr 21, 2025

Thank you for your pull request @Ousret! We'll review the changes and follow up accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Async] Provide async requests for GoogleSearch Python package should not include tests
2 participants