Skip to main content

Professional-grade global help indexer with BLUX integration

Project description

GOD — Global Operations Deity 🚀

Global help indexer with BLUX soft-integration. Fast, safe, cross-platform.

CI PyPI Version Python Versions License: MIT

Quick Start

pip install god-cli

# Console summary
god build -f console --limit 20

# Save docs
god build -o docs/help.md           # Markdown
god build -f html -o docs/help.html # HTML
god build -f json -o docs/help.json # JSON

# Search
god search docker
god search --names-only ssh

# Stats
god stats

# Command info
god info python

Platform Quickstart

Linux / macOS

python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
god --version
god build -f console --limit 10

Windows (PowerShell)

py -m venv .venv; .\.venv\Scripts\Activate.ps1
pip install -e ".[dev]"
god --version
god build -f console --limit 10

Quick Installer

# Unix/Linux/macOS - comprehensive setup
./install_deps.sh --dev

BLUX soft routes (if tools exist on PATH or importable)

god blux q --help
god blux dat --version
god blux lrc --help
god blux scan --help

🚀 Professional Features (v1.0.0)

Enhanced Security

· Critical Risk Level: Added for dangerous system commands (rm, dd, mkfs, etc.) · Comprehensive Risk Assessment: Automatic detection of high-risk commands · Security Audit Class: Modular security evaluation system · Path-based Risk: System directories trigger medium risk level

Performance Improvements

· Parallel Processing: Process commands concurrently with ThreadPoolExecutor · Configurable Workers: Customize worker pool size with --max-workers · Progress Indicators: Rich progress bars for long operations · Efficient Resource Usage: Smart thread pooling and timeout handling

Enhanced Output

· Professional Formatting: Beautiful tables and panels with Rich library · Risk Badges: Color-coded risk indicators in all output formats · Detailed Metadata: File sizes, modification times, execution metrics · Statistics Dashboard: Comprehensive risk breakdown and metrics · Multiple Formats: Markdown, JSON, HTML, and Console output

Production Ready

· Comprehensive Logging: Structured logging for debugging and monitoring · Error Recovery: Graceful handling of failures and timeouts · UTF-8 Support: Enhanced Windows terminal compatibility · Type Hints: Full type coverage for better maintainability · Cross-Platform: Tested on Windows, macOS, and Linux

Developer Experience

· Enhanced Testing: Comprehensive test suite with pytest markers · Code Quality: Professional code structure and organization · Documentation: Detailed docstrings and inline documentation · Shell Completion: Support for bash, zsh, fish, and PowerShell

Advanced Usage

Parallel Processing

# Use multiple workers for faster processing
god build --max-workers 8 --limit 50

# Balance performance and resource usage
god search "docker" --max-workers 4

# Process large command sets efficiently
god build -f json --max-workers 16

Security Focus

# Identify high-risk commands
god stats  # Shows risk breakdown by level

# Get detailed security info for a command
god info rm  # Shows CRITICAL risk level

# Search for specific risk categories
god search --names-only "dd"

Professional Output

# Generate comprehensive HTML report
god build -f html -o security-audit.html

# Create machine-readable catalog
god build -f json -o command-catalog.json

# Generate markdown documentation
god build -f md -o docs/commands.md

# Quick console view with top 50 commands
god build -f console --limit 50

Development Workflow

# Install with development dependencies
./install_deps.sh --dev

# Or using pip directly
pip install -e ".[dev]"

# Run enhanced test suite
make test

# Run with coverage
make test-cov

# Code quality checks
make lint
make format

# Build distribution packages
make build

System Requirements

· Python: 3.8 or higher · Platform: Windows, macOS, Linux · Dependencies: Automatic installation via pip · Permissions: Read access to PATH directories · Disk Space: Minimal (< 10MB installed)

Performance Benchmarks

· Single Command: ~0.1-2.0s (depends on command) · 100 Commands: ~5-15s (with parallel processing) · 1000 Commands: ~30-60s (with max workers) · Memory Usage: ~50-100MB typical

Security Considerations

· Risk Levels: Automatic assessment of all commands · Safe Execution: Read-only operations, no system modifications · Timeout Protection: Prevents hanging on unresponsive commands · Error Isolation: Individual command failures don't affect batch processing

Troubleshooting

Common Issues

Issue: Commands not found in PATH

# Check your PATH
echo $PATH  # Unix/Mac
echo %PATH% # Windows

# Verify god can see commands
god stats

Issue: Slow processing

# Increase workers for faster processing
god build --max-workers 16

# Reduce timeout for faster failures
god build --timeout 1.0

Issue: UTF-8 encoding errors on Windows

# Set console to UTF-8
chcp 65001

# Or use output redirection
god build > output.txt

Contributing

Contributions are welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Add tests for new functionality
  4. Ensure all tests pass
  5. Submit a pull request

Support

· Documentation: GitHub Wiki · Issues: GitHub Issues · Email: outervoid.blux@gmail.com

License

MIT License - See LICENSE file for details

Changelog

See CHANGELOG.md for detailed version history.

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

god_cli-1.0.0.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

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

god_cli-1.0.0-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file god_cli-1.0.0.tar.gz.

File metadata

  • Download URL: god_cli-1.0.0.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for god_cli-1.0.0.tar.gz
Algorithm Hash digest
SHA256 81d9948b82b337e1066465e1cdfab9377f2a360ec2bcd1310c4531c8465b5d47
MD5 ba93f3f006c15599b8b12831f7a68d20
BLAKE2b-256 ae8c886eefb4965bea36a1e280d133a4f039d62cc2fea4ddb1d18ee922594092

See more details on using hashes here.

File details

Details for the file god_cli-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: god_cli-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for god_cli-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2fe0ef606a70d02f29f233f0b75752a408ce91f99fa55ef8ecdb0a55b1596710
MD5 74f92e1a09130eb112da43ac7611ecd3
BLAKE2b-256 1448cc5c44a20a0bcb4c774426b545ab3798640a4a4c99d941d3f65a1c60509e

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