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_google_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.5.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: async_web_search-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 f51f828d0eb0077b8ba62b2f92fe68a331fb7f0c56f954710231fb2afdd61487
MD5 e8598eac75a9568a2f6275a83541b3c5
BLAKE2b-256 5fc8d6027b8cdc7e2d348735aa0043685143a6e6fee497e86c17834f815ad175

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for async_web_search-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c7e13cf3e63adca178c50ea0e774287f3943145912cbf388f01032cb8338fcf2
MD5 23553a03a9e7d11adc5a989e815aca5b
BLAKE2b-256 f6f97348dfaa3e20f362d7ed0547d32b92191e4d48dccda5a3b7a2abaa123c68

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