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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

Hashes for async_web_search-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d1add23a90c7062ab7c569aca667817a3e9782c6e87f509c195fa6fd660f63cc
MD5 db326207d8bc1fd3492ae5ce80c25ec0
BLAKE2b-256 c375e33c94fb22f87ff254d0f0ce6d3ffd357de1b36b7f9a1dfdee807150fe14

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for async_web_search-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0efffde08f9b977e495851529a8b980558f86deb5eafd6c178aa083f11fe3ee6
MD5 d3c0a4bdd8a6a65a9d75cc92ec430d77
BLAKE2b-256 24e103f89113a7c179b7f183906b2849bf54ee3ff41107bfb031e45ef24aed92

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