free google results
Project description
VisionLite: Lightweight Web Search With AI 🚀
A lightweight, efficient library for web search, text parsing, and semantic analysis using the WordLlama language model.
🌟 Features
- 🔍 Multiple search engine support (Google, Bing)
- 📝 Efficient text parsing and cleaning
- 🧠 Integration with WordLlama for semantic analysis
- ⚡ Fast and lightweight implementation
- 🎨 Optional search animation support
- 📊 Configurable result ranking
📦 Installation
pip install parselite searchlite wordllama
🚀 Quick Start
GoogleSearch+AI
from visionlite import vision
results = vision("What is quantum computing?")
print(results)
BingSearch+AI
from visionlite import visionbing
results = visionbing("What is quantum computing?")
print(results)
📖 Usage Examples
Basic Search with Google
def vision(query, k=1, max_urls=5, animation=False):
# Search, parse, and rank results
results = llm.topk(
query,
llm.split("".join(
parse(google(query, max_urls=max_urls, animation=animation))
)),
k=k
)
return "\n".join(results)
# Example usage
quantum_info = vision("quantum computing applications", k=3, max_urls=10)
Search with Bing
def visionbing(query, k=1, max_urls=5, animation=False):
# Search using Bing, parse, and rank results
results = llm.topk(
query,
llm.split("".join(
parse(bing(query, max_urls=max_urls, animation=animation))
)),
k=k
)
return "\n".join(results)
# Example usage
ai_results = visionbing("artificial intelligence trends", k=5)
🔧 Configuration
Search Parameters
query: Search query stringk: Number of top results to return (default: 1)max_urls: Maximum number of URLs to process (default: 5)animation: Enable/disable search animation (default: False)
🤝 Contributing
Contributions are welcome! Here's how you can help:
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
📝 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙏 Acknowledgments
- WordLlama team for the language model
- Contributors and maintainers
- Open source community
🔮 Future Plans
- Add support for more search engines
- Implement caching mechanism
- Improve parsing accuracy
- Add multilingual support
- Create GUI interface
⭐ Star History
📊 Performance
| Operation | Time (ms) | Memory (MB) |
|---|---|---|
| Search | 150-300 | 20-30 |
| Parse | 50-100 | 10-15 |
| Rank | 100-200 | 15-25 |
🔥 Showcase
Projects using ParserLite:
- Research Assistant Bot
- Content Aggregator
- Semantic Search Engine
- Data Mining Tool
Made with ❤️ by [Your Name]
Project details
Release history Release notifications | RSS feed
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 visionlite-0.1.53.tar.gz.
File metadata
- Download URL: visionlite-0.1.53.tar.gz
- Upload date:
- Size: 25.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.11.0rc1 Linux/6.8.0-49-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d70638915a49c3c51659d02e389f9a928b3c0ec2f50103c811ccd93da965d277
|
|
| MD5 |
e2d233c994a57e727b500f96dfca84cc
|
|
| BLAKE2b-256 |
4c7b324587f49669f5157ec6bb6bf3a7b138e8c645465b899aeb6a8829fe86ae
|
File details
Details for the file visionlite-0.1.53-py3-none-any.whl.
File metadata
- Download URL: visionlite-0.1.53-py3-none-any.whl
- Upload date:
- Size: 19.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.11.0rc1 Linux/6.8.0-49-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ff2d973e232b598b1af8b79317f82d1eb7380fbed8b71421d2c3f318baa3374
|
|
| MD5 |
873a3b4fc9cdcf5496b2a62e32d1a150
|
|
| BLAKE2b-256 |
e09e893fb9f59889431d6bab622863fbb173e306d512208113f649b6f58128e4
|