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.1.tar.gz
.
File metadata
- Download URL: async_web_search-0.1.1.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb121cfd0e3c1c7e3ff7c531df882cefb577269e769d58a83cd4ad259c0edab4 |
|
MD5 | 61879c50f78df63c28dee96c248164b7 |
|
BLAKE2b-256 | 0330c435bc83fef332c707545b113fe9b03410ff3ddc42e937ebd8db53c6e0f0 |
File details
Details for the file async_web_search-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: async_web_search-0.1.1-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.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd334d2f089371b13a58339d902c48cf85022d98c8f4bbdfdc7053f2a34dd8f1 |
|
MD5 | dea87f8ebabf34c50ead0f25b7a31d66 |
|
BLAKE2b-256 | 725f83376c580753d6a1e4c34538b91d0cd33bd96a83ed4cb5465287251a76ae |