Skip to main content

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

async_web_search-0.1.2.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

async_web_search-0.1.2-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file async_web_search-0.1.2.tar.gz.

File metadata

  • Download URL: async_web_search-0.1.2.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

Hashes for async_web_search-0.1.2.tar.gz
Algorithm Hash digest
SHA256 18e15af87fe191bde4e3243a98f0070ac7000244363e4263ad1e4b409976321d
MD5 9d3421edb2a8fdf058f97ac3ffc92cc0
BLAKE2b-256 94e3b8ad3476078d60fb80f5168995eaf44a52ebeddf73f8a29eb026d1563f23

See more details on using hashes here.

File details

Details for the file async_web_search-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for async_web_search-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 40f9757409ab5a7e28a110924fa76152c89fac7edbd569ce21f0fa0dce5614f3
MD5 5055aecbd93cee727378b372c2f8bfb7
BLAKE2b-256 548637ee2116c5d880a9d60400d9785d93c9097c1b3d8461932b739d589aa893

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page