๐ค AI-Powered Web Intelligence System - Real-time research, comprehensive analysis, and intelligent insights using Google Gemini 2.0 Flash
Project description
๐ง WebIntel - Advanced Web Intelligence System
WebIntel is a superfast AI-powered web intelligence system that provides real-time web research, comprehensive analysis, and intelligent insights using Google Gemini 2.0 Flash. Get comprehensive research results in 10-20 seconds with 90%+ success rate.
๐ Key Features
- ๐ Multi-Engine Search: Searches across DuckDuckGo, Bing, and Google simultaneously with intelligent fallback mechanisms
- ๐ง AI-Powered Analysis: Uses Google Gemini 2.0 Flash for intelligent content analysis, synthesis, and insights generation
- โก Lightning Fast: Optimized for speed with parallel processing, smart caching, and efficient content extraction (10-20s results)
- ๐ก๏ธ Reliable & Robust: Built-in error handling, retry mechanisms, and fallback strategies ensure consistent performance
- โ๏ธ Highly Configurable: Customizable output formats (JSON, Markdown, Rich), configurable result counts, and flexible API integration
- ๐ Advanced Analytics: Provides relevance scoring, source credibility analysis, confidence levels, and comprehensive performance metrics
๐ฆ Installation
๐ฏ Quick Install (Recommended)
# Install from PyPI
pip install webintel
# Verify installation
webintel --version
โ๏ธ Alternative Installation Methods
๐ Global Installation (Recommended for CLI usage)
# Install globally for all users (requires admin/sudo)
pip install --global webintel
# Or install globally with elevated permissions
sudo pip install webintel # Linux/macOS
# Run as Administrator on Windows, then: pip install webintel
Using pipx (Isolated CLI installation)
# Install in isolated environment (best for CLI tools)
pipx install webintel
Using pip with user flag
# Install for current user only
pip install --user webintel
From Source (Development)
git clone https://github.com/JustM3Sunny/webintel.git
cd webintel
pip install -r requirements.txt
pip install -e .
๐ System Requirements
- Python: 3.8 or higher
- Operating System: Windows, macOS, Linux
- Internet: Stable connection required
- Memory: 512MB RAM minimum
๐ฆ Package Information
- PyPI Package: webintel
- Import Name:
webintel(usefrom webintel import DataProcessor) - CLI Command:
webintel(after installation)
๐ API Key Setup
WebIntel requires a Google Gemini API key for AI-powered analysis:
- Get your free API key from Google AI Studio
- Set your API key:
# Linux/macOS
export GEMINI_API_KEY="your-api-key-here"
# Windows
set GEMINI_API_KEY=your-api-key-here
๐ Quick Start
1๏ธโฃ Install WebIntel
# Standard installation
pip install webintel
# Global installation (recommended for CLI usage)
pip install --global webintel
# Or using pipx (isolated environment)
pipx install webintel
2๏ธโฃ Set up API Key
# Get your free API key from: https://makersuite.google.com/app/apikey
export GEMINI_API_KEY="your-api-key-here"
# On Windows:
set GEMINI_API_KEY=your-api-key-here
3๏ธโฃ Start Using WebIntel (Auto-Setup)
WebIntel automatically sets up configuration on first run:
# Basic search - WebIntel will auto-configure itself
webintel search "artificial intelligence trends 2024"
# Get comprehensive results
webintel search "machine learning frameworks" --max-results 10
# JSON output for integration
webintel search "blockchain technology" --format json
# Save results to file
webintel search "climate change research" --save --output-dir ./results
๐ง Auto-Configuration
WebIntel automatically creates:
- Configuration directory:
~/.webintel/ - Default config file:
~/.webintel/config.yaml - Cache directory:
~/.webintel/cache/ - Output directory:
~/.webintel/output/
๐ฅ Advanced Usage Examples
# Market research with detailed analysis
webintel search "electric vehicle market 2024" --max-results 15 --format rich
# Technology comparison
webintel search "python vs javascript 2024" --save --format json
# Academic research
webintel search "climate change solutions" --max-results 20 --output-dir ./research
# News and trends
webintel search "latest AI breakthroughs" --format markdown
๐ป Usage Examples
Command Line Interface
# Market research
webintel search "electric vehicle market 2024" --max-results 5
# Technology research
webintel search "best python frameworks 2024" --format json
# Academic research
webintel search "climate change impact studies" --save
# News and trends
webintel search "AI breakthrough 2024" --max-results 15
Python API
from webintel import DataProcessor
from webintel.config import get_default_config
# Initialize WebIntel
config = get_default_config()
processor = DataProcessor(config)
# Perform comprehensive search
results = await processor.process_query(
query="artificial intelligence trends 2024",
max_results=10
)
# Access AI-generated insights
print("๐ง AI Analysis:")
print(results['synthesis']['executive_summary'])
print(f"\n๐ Statistics:")
print(f"Sources found: {len(results['sources'])}")
print(f"Processing time: {results['processing_time']}s")
print(f"\n๐ Key Insights:")
for insight in results['synthesis']['key_findings']:
print(f"โข {insight}")
print(f"\n๐ Top Sources:")
for source in results['sources'][:3]:
print(f"โข {source['title']}")
print(f" ๐ {source['url']}")
print(f" ๐ Relevance: {source['relevance_score']:.2f}")
๐ฏ Real-World Use Cases
๐ Market Research
webintel search "electric vehicle market trends 2024" --max-results 10
๐ป Technology Research
webintel search "best AI frameworks comparison" --format json
๐ Academic Research
webintel search "climate change impact studies" --save --output-dir ./research
๐ฐ News & Trends
webintel search "latest AI breakthroughs 2024" --max-results 15
โ๏ธ Configuration
Environment Variables
export GEMINI_API_KEY="your-api-key"
export WEBINTEL_MAX_RESULTS=10
export WEBINTEL_OUTPUT_FORMAT="rich"
export WEBINTEL_TIMEOUT=30
Configuration File
WebIntel uses a YAML configuration file located at ~/.webintel/config.yaml:
# Google Gemini AI Configuration
gemini:
api_key: "your-api-key-here"
model_name: "gemini-2.0-flash"
max_tokens: 8192
temperature: 0.7
# Web Scraping Configuration
scraping:
max_concurrent_requests: 10
request_timeout: 30
retry_attempts: 3
# Output Configuration
output:
format: "rich"
save_to_file: false
include_sources: true
๐ Performance Metrics
- Response Time: 10-20 seconds average
- Success Rate: 90%+ for most queries
- Search Engines: 3+ engines with intelligent fallback
- Concurrent Requests: Up to 10 parallel requests
- Cache Hit Rate: 85%+ for repeated queries
๐ Requirements
- Python: 3.8 or higher
- API Key: Google Gemini API key (free tier available)
- Internet: Stable internet connection
- Memory: 512MB RAM minimum
- Storage: 100MB for installation
๐ค Contributing
We welcome contributions! Here's how you can help:
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Commit your changes:
git commit -m 'Add amazing feature' - Push to the branch:
git push origin feature/amazing-feature - Open a Pull Request
Development Setup
git clone https://github.com/JustM3Sunny/webintel.git
cd webintel
pip install -r requirements.txt
pip install -e .
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ Acknowledgments
- Google Gemini 2.0 Flash for AI-powered analysis
- Multiple Search Engines for comprehensive web coverage
- Open Source Community for inspiration and support
๐ Important Links
๐ฆ Package & Repository
- PyPI Package: webintel on PyPI
- GitHub Repository: JustM3Sunny/webintel
- Documentation: Full Documentation
- Releases: GitHub Releases
๐ ๏ธ Development & API
- Google Gemini API: Get API Key
- Python Package Index: PyPI Project Page
- Issue Tracker: Report Bugs
- Feature Requests: Request Features
๐ Statistics & Monitoring
- Download Stats: Package Downloads
- GitHub Stats: Repository Statistics
- License: MIT License
๐ Support & Community
- GitHub Issues: Report bugs or request features
- GitHub Discussions: Community discussions
- PyPI Package: webintel on PyPI
- Email Support: justm3sunny@gmail.com
๐ Quick Links
| Resource | Link |
|---|---|
| ๐ฆ Install | pip install webintel or pip install --global webintel |
| ๐ Documentation | GitHub README |
| ๐ Bug Reports | GitHub Issues |
| ๐ก Feature Requests | GitHub Discussions |
| ๐ Download Stats | PyPI Stats |
| โญ Star on GitHub | JustM3Sunny/webintel |
๐ Version Information
- Current Version: 2.0.3
- Python Support: 3.8+
- Package Name: webintel
- Import Name: webintel
- CLI Command: webintel
Made with โค๏ธ by JustM3Sunny. Star โญ this repo if you find it useful!
๐ Connect with me:
- GitHub: @JustM3Sunny
- Email: justm3sunny@gmail.com
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 webintel-2.0.3.tar.gz.
File metadata
- Download URL: webintel-2.0.3.tar.gz
- Upload date:
- Size: 36.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ea469aecf8cc68b2df1626f52f0a5182e0a3f31f2d3c2504010d1114dfe5e70
|
|
| MD5 |
9a3cae18f8392f6e5094c1216ce7089b
|
|
| BLAKE2b-256 |
479a69e7363043c763767c0d486d9200f5b18bb1d56662af8a8d612fdc22e642
|
File details
Details for the file webintel-2.0.3-py3-none-any.whl.
File metadata
- Download URL: webintel-2.0.3-py3-none-any.whl
- Upload date:
- Size: 29.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65bcfff7666ccaa4b1fba66a85e06c1973aec1a714382053fb03bb6cb7053b3a
|
|
| MD5 |
bd238e0cedda0dfd812e63d8c131fa61
|
|
| BLAKE2b-256 |
3f95110e646233f508fd3e28f99c015790e1f9b13b30c3eed2eaf4cbebfa8730
|