Metadata-Version: 2.1
Name: visionlite
Version: 0.1.32
Summary: free google results
Home-page: https://github.com/santhosh/
License: MIT
Author: Kammari Santhosh
Requires-Python: >=3.10,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: langchain_core (>=0.3.28,<0.4.0)
Requires-Dist: langchain_ollama (>=0.2.2,<0.3.0)
Requires-Dist: parselite (>=0.3.5,<0.4.0)
Requires-Dist: pyperclip (>=1.9.0,<2.0.0)
Requires-Dist: searchlite (>=0.7.5,<0.8.0)
Requires-Dist: wordllama (>=0.3.7,<0.4.0)
Project-URL: Repository, https://github.com/santhosh/
Description-Content-Type: text/markdown

# VisionLite: Lightweight Web Search With AI 🚀

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)
[![Downloads](https://img.shields.io/badge/downloads-1k%2Fmonth-brightgreen.svg)](https://pypi.org/project/parselite/)

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

```bash
pip install parselite searchlite wordllama
```

## 🚀 Quick Start

### GoogleSearch+AI
```python
from visionlite import vision
results = vision("What is quantum computing?")
print(results)
```
### BingSearch+AI
```python
from visionlite import visionbing
results = visionbing("What is quantum computing?")
print(results)
```

## 📖 Usage Examples

### Basic Search with Google

```python
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

```python
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 string
- `k`: 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:

1. Fork the repository
2. Create your feature branch (`git checkout -b feature/AmazingFeature`)
3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

## 📝 License

This project is licensed under the MIT License - see the [LICENSE](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

[![Star History Chart](https://api.star-history.com/svg?repos=YourUsername/parselite&type=Date)](https://star-history.com/#YourUsername/parselite&Date)

## 📊 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]

