Skip to main content

๐Ÿค– 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

PyPI version Python 3.8+ License: MIT GitHub stars Downloads Documentation PyPI Package

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 (use from webintel import DataProcessor)
  • CLI Command: webintel (after installation)

๐Ÿ”‘ API Key Setup

WebIntel requires a Google Gemini API key for AI-powered analysis:

  1. Get your free API key from Google AI Studio
  2. 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:

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Commit your changes: git commit -m 'Add amazing feature'
  4. Push to the branch: git push origin feature/amazing-feature
  5. 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

๐Ÿ› ๏ธ Development & API

๐Ÿ“Š Statistics & Monitoring

๐Ÿ†˜ Support & Community

๐Ÿ”— 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:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

webintel-2.0.3.tar.gz (36.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

webintel-2.0.3-py3-none-any.whl (29.5 kB view details)

Uploaded Python 3

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

Hashes for webintel-2.0.3.tar.gz
Algorithm Hash digest
SHA256 0ea469aecf8cc68b2df1626f52f0a5182e0a3f31f2d3c2504010d1114dfe5e70
MD5 9a3cae18f8392f6e5094c1216ce7089b
BLAKE2b-256 479a69e7363043c763767c0d486d9200f5b18bb1d56662af8a8d612fdc22e642

See more details on using hashes here.

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

Hashes for webintel-2.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 65bcfff7666ccaa4b1fba66a85e06c1973aec1a714382053fb03bb6cb7053b3a
MD5 bd238e0cedda0dfd812e63d8c131fa61
BLAKE2b-256 3f95110e646233f508fd3e28f99c015790e1f9b13b30c3eed2eaf4cbebfa8730

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page