
Security News
The Next Open Source Security Race: Triage at Machine Speed
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.
async-web-search
Advanced tools
Async web search library supporting Google, Wikipedia, arXiv, NewsAPI, GitHub, and PubMed APIs.
Async web search library supporting Google Custom Search, Wikipedia, arXiv, NewsAPI, GitHub, and PubMed APIs.
You can search across multiple sources and retrieve relevant, clean results in JSON format or as compiled text.
Set environment variables:
export GOOGLE_API_KEY="your_google_api_key"
export CSE_ID="your_cse_id"
export NEWSAPI_KEY="your_newsapi_key"
pip install async-web-search
from web_search import WebSearch, WebSearchConfig
config = WebSearchConfig(sources=["google", "arxiv", "github", "newsapi", "pubmed"])
results = await WebSearch(config).search("quantum computing")
# results is a list of dicts with keys: url, title, preview, source
for result in results:
print(f"Title: {result['title']}")
print(f"URL: {result['url']}")
print(f"Preview: {result['preview']}")
print(f"Source: {result['source']}")
print("---")
from web_search import WebSearch, WebSearchConfig
config = WebSearchConfig(sources=["google", "arxiv", "github"])
compiled_results = await WebSearch(config).compile_search("quantum computing")
print(compiled_results) # Prints a formatted string with all results
from web_search import GoogleSearchConfig
from web_search.google import GoogleSearch
config = GoogleSearchConfig(
api_key="your_google_api_key",
cse_id="your_cse_id",
max_results=5
)
results = await GoogleSearch(config)._search("quantum computing")
for result in results:
print(result)
from web_search import BaseConfig
from web_search.wikipedia_ import WikipediaSearch
wiki_config = BaseConfig(max_results=5)
results = await WikipediaSearch(wiki_config)._search("deep learning")
for result in results:
print(result)
from web_search import BaseConfig
from web_search.arxiv import ArxivSearch
arxiv_config = BaseConfig(max_results=3)
results = await ArxivSearch(arxiv_config)._search("neural networks")
for result in results:
print(result)
A FastAPI-based production server is available for teams that want to use async web search as a web service. The server is hosted at https://awebs.veedo.ai and can be run locally as well.
See server/README.md for detailed API documentation, endpoints, and deployment instructions.
We welcome contributions! To contribute:
pytest -v
MIT
FAQs
Async web search library supporting Google, Wikipedia, arXiv, NewsAPI, GitHub, and PubMed APIs.
We found that async-web-search demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.

Research
/Security News
Malicious dYdX client packages were published to npm and PyPI after a maintainer compromise, enabling wallet credential theft and remote code execution.

Security News
gem.coop is testing registry-level dependency cooldowns to limit exposure during the brief window when malicious gems are most likely to spread.