Skip to main content

QZX - Quick Zap Exchange - Command line tool for automating common tasks across platforms

Project description

QZX - Universal Command Interface for AI Agents

QZX (Quick Zap Exchange) provides a universal command interface enabling AI agents to execute system operations across Windows, Linux, and macOS with identical syntax, eliminating OS-specific command variations.

Core Concept

QZX creates a uniform abstraction layer over OS-specific commands, allowing consistent syntax across systems:

qzx CreateDirectory "ProjectFolder"  # Instead of mkdir/New-Item/etc.
qzx FindText "ERROR" "logs/app.log"  # Instead of grep/findstr/Select-String
qzx ListProcesses "python"           # Instead of ps/tasklist/Get-Process

Technical Features

  • Cross-platform Middleware: Automatic translation of commands to native OS instructions
  • Structured JSON Responses: Rich, detailed outputs with consistent schema for AI consumption
  • Advanced Pattern Recognition: Wildcards and recursive operations with unified syntax
  • Performance Optimized: Low overhead translation layer using native system calls
  • Intelligent Context Preservation: Maintains environment context across command executions

Advanced Use Cases

Automated DevOps Pipeline

qzx CreateDirectory "Deployment/$(qzx GetCurrentDate)"
qzx RunScript "build.py" "--env=prod" "--optimize"
qzx FindLargeFiles "dist" "*.map" "1MB" -r > "large_source_maps.log"
qzx SystemInfo > "Deployment/$(qzx GetCurrentDate)/build_environment.json"

System Monitoring & Diagnostics

# Comprehensive system health check
qzx GetSmartValues "/dev/sda" > "disk_health.json"
qzx GetCPULoad | jq '.cores[] | select(.usage > 80)'
qzx FindText "OOM|SEGV|FATAL" "/var/log/syslog" -r7 true true

Cross-Platform Development Automation

# Create standardized project structure
qzx CreateDirectory {project_dirs}
qzx TouchFile "src/.gitkeep" ".github/workflows/.gitkeep"
qzx FindFiles "src" "*.{js,jsx,ts,tsx}" -r | xargs qzx CountLinesInFile

Technical Implementation

QZX implements a command-translation layer with:

  • Python core with OS-specific modules
  • Consistent return schema for all commands
  • Extensible architecture for custom command integration
  • Detailed verbosity with minimal performance impact

Command Categories

  • File System Operations: CreateDirectory, CopyFile, MoveFile, DeleteFile, ChangePermissions
  • System Analysis: SystemInfo, GetRAMInfo, GetCPULoad, GetDiskInfo, GetSmartValues
  • Process Management: ListProcesses, KillProcess
  • Search & Data Analysis: FindText, CountLinesInFile, FindFiles, FindLargeFiles
  • Development Tools: RunScript, TouchFile, GetCurrentDate, GetCurrentTime

"Verbose is Gold" Philosophy

QZX implements rich, structured responses specifically designed for AI consumption:

{
  "success": true,
  "disk_info": {
    "model": "Samsung SSD 970 EVO",
    "size_bytes": 512110190592,
    "size_formatted": "512.11 GB",
    "smart_health": "PASSED",
    "temperature": 38,
    "temperature_formatted": "38°C"
  },
  "message": "Disk health check passed. Temperature normal at 38°C."
}

Dependencies

  • Python 3.6+
  • psutil (optional, for extended system monitoring)
  • smartmontools (optional, for S.M.A.R.T. diagnostics)

Current Version

v0.02 - Updated with 42 verified commands

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

qzx-0.2.2.tar.gz (187.0 kB view details)

Uploaded Source

Built Distribution

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

qzx-0.2.2-py3-none-any.whl (169.9 kB view details)

Uploaded Python 3

File details

Details for the file qzx-0.2.2.tar.gz.

File metadata

  • Download URL: qzx-0.2.2.tar.gz
  • Upload date:
  • Size: 187.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for qzx-0.2.2.tar.gz
Algorithm Hash digest
SHA256 a562efa9a4ba8603e53ebf702e1ff26aeabdedf566a003510f2e56655e3513a0
MD5 fe0160080c64b9b2370d12962b5b92c0
BLAKE2b-256 4159ffb035e57b53ad27a81f418a712600465d8de2e4c68f5825d77f305751c9

See more details on using hashes here.

File details

Details for the file qzx-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: qzx-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 169.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for qzx-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d1f6cf9b5cbc116b4397f9a11b2eb7d4723e6ffb2ea505187946196e459bd378
MD5 3bc75097a24bfaf9822f84a002d8a1ef
BLAKE2b-256 5419ec82afe97319a4ddf9b267daab847d28baf6e98f74e3584be52fb67c96e0

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