Async web search library supporting Google, Wikipedia, and arXiv
Project description
Web Search
Async web search library supporting Google Custom Search, Wikipedia, and arXiv APIs.
Installation
pip install async-web-search
Usage
from web_search import WebSearch, WebSearchConfig, GoogleSearchConfig
config = WebSearchConfig(
sources=["google", "wikipedia"],
google_config=GoogleSearchConfig(
api_key="your_api_key",
cse_id="your_cse_id"
)
)
search = WebSearch(config)
results = await search.search("quantum computing")
print(results)
Features
- Async/concurrent searching
- Multiple source support (Google, Wikipedia, arXiv)
- Content extraction and cleaning
- Configurable search parameters
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file async_web_search-0.1.3.tar.gz
.
File metadata
- Download URL: async_web_search-0.1.3.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ed182d8c50e3a770901c3ad2ede1c6bd2ebe1f2174cc3cfb8111186516a91dc |
|
MD5 | 1a54b4e4e9cf6ff8864cc1ab4a310c89 |
|
BLAKE2b-256 | 96af37d5425b9ab3a8bd3e8349bf6ad5ccbe4cbcea226a3c4e22f4348a30d3a7 |
File details
Details for the file async_web_search-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: async_web_search-0.1.3-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00f6d30b373ceea38e807cf3ea1ed30d77c2da78cd0b832edeb65aa79f8f3622 |
|
MD5 | 7d010b57620ca4742862d2bbde4aa3e3 |
|
BLAKE2b-256 | dc419676ceffe0ad8d7463ba8686e081067612e005ef86d25e729fe7af1d5d15 |