pip install --upgrade pip
pip install build setuptools wheel twine
python -m build
pip install --upgrade pip pip install build twine python -m twine upload dist/*
first we need to download the docker
SearchNow
SearchNow is an open-source Python framework that enables LLMs and AI agents to search the web and extract clean webpage content using SearXNG and Trafilatura.
It can be used as an open-source alternative to commercial search APIs such as Tavily Search and Brave Search in your AI applications.
Features
- 🔍 Search the web using SearXNG
- 📄 Extract clean webpage content using Trafilatura
- ⚡ Async API for high-performance applications
- 🤖 Designed for LLMs, AI Agents, and RAG pipelines
- 🌐 Fetch and parse any webpage with a single function
- 🆓 Fully open source
Installation
pip install searchnow
Or install the latest version from GitHub.
Requirements
SearchNow requires a running SearXNG instance.
Run SearXNG using Docker
docker run -d \
--name searxng \
-p 8080:8080 \
searxng/searxng
After starting the container, your search endpoint will be available at:
http://localhost:8080
Usage
Search the Web
import asyncio
from searchnow import FetchResult
async def main():
fetch = FetchResult()
result = await fetch.fetch_data("NVIDIA NeMo Framework")
print(result)
asyncio.run(main())
Fetch Content from a URL
import asyncio
from searchnow import FetchResult
async def main():
fetch = FetchResult()
url_data = await fetch.fetch_url(
url="https://github.com/bigscience-workshop/petals"
)
print(url_data)
asyncio.run(main())
API
fetch_data(query)
Searches the web and returns cleaned search results.
result = await fetch.fetch_data("NVIDIA NeMo Framework")
fetch_url(url)
Downloads a webpage and extracts its readable content.
url_data = await fetch.fetch_url(
url="https://github.com/bigscience-workshop/petals"
)
Use Cases
- AI Agents
- Retrieval-Augmented Generation (RAG)
- LLM Tool Calling
- Research Assistants
- Web Knowledge Retrieval
- Autonomous Agents
Why SearchNow?
Many LLM applications rely on paid search providers such as:
- Tavily
- Brave Search
- SerpAPI
SearchNow provides an open-source alternative by combining:
- SearXNG for web search
- Trafilatura for webpage extraction
This gives developers complete control over their search infrastructure without vendor lock-in.
Tech Stack
- Python
- SearXNG
- Trafilatura
- AsyncIO
- HTTPX
Contributing
Contributions are welcome!
Feel free to submit issues, feature requests, or pull requests.
License
MIT License
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file searchnow-0.0.5.tar.gz.
File metadata
- Download URL: searchnow-0.0.5.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0407a83f1abfa1728d14413c6036d11c09da6813e457752d46680da02dc2dfe2
|
|
| MD5 |
490d70764b47d02ece01e196e2615f57
|
|
| BLAKE2b-256 |
a04b8dac54b087fb3cd3bde0339a25f3aff66e1341ee0d55f6ced6b26fa76073
|
File details
Details for the file searchnow-0.0.5-py3-none-any.whl.
File metadata
- Download URL: searchnow-0.0.5-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a71dbc7c5d7b9dfd1860e9b88bed5a28b45e5702fdd0da82dd37ad762331d7d1
|
|
| MD5 |
3fe01f74b20b868d2a5e7a6eecdfb9fe
|
|
| BLAKE2b-256 |
79e0f40f8ce6531c6bee436ab79265dc551b83e91c46cc3ed000ecb1b7e71b6c
|