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]
Metadata
Release files for visionlite 0.1.60
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| visionlite-0.1.60.tar.gz | 25.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| visionlite-0.1.60-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 45.9 kB
Release files / visionlite-0.1.60.tar.gz
| Download URL | visionlite-0.1.60.tar.gz |
|---|---|
| Size | 25.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bf4dfbb98845694c29b67dc88aa55590669a279af838e6c72e3704a491ed2b5a
|
|
BLAKE2b-256 checksum How to use checksums |
87c7f0307e1608ea7ce68f4bb1307dad72de74dc4cb3e7e86b9b6e8779b99440
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.11.0rc1 Linux/6.8.0-49-generic
|
Release files / visionlite-0.1.60-py3-none-any.whl
| Download URL | visionlite-0.1.60-py3-none-any.whl |
|---|---|
| Size | 20.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fc8e1ef134e191aaa78e6b23638251de954c88a97271a2e97904e3f4e4a33304
|
|
BLAKE2b-256 checksum How to use checksums |
174f84065250e1f9ab8e025abb7e2a6a61934eceadbe88776488172936609397
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.11.0rc1 Linux/6.8.0-49-generic
|
Security for visionlite 0.1.60
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.