Skip to content

WrenchCL Documentation

WrenchCL is a comprehensive library for seamless interactions with AWS services, AI models, and enterprise-grade utility tools.


Installation

See Installation Guide for complete setup instructions including optional dependencies.


Core Components

Logger System

Enterprise-grade structured logging with multi-format output, environment detection, and Datadog integration. Features include terminal colors, JSON formatting, automatic AWS Lambda detection, and APM trace correlation.

AWS Connect

Production-ready AWS service integrations with automatic configuration management, connection pooling, and intelligent error handling. Supports RDS, S3, Lambda, and Secrets Manager with SSH tunneling capabilities.

  • Client Hub - Centralized AWS client and session management
  • RDS Gateway - Database operations with connection pooling and batch processing
  • S3 Gateway - Object storage operations with retry logic and type detection
  • Lambda Utilities - Response handling and status code management
  • Processing Tracker - Job lifecycle management with TTL cleanup
  • Configuration - Environment detection and secrets management

Tools & Utilities

Essential utility functions for data manipulation, file operations, and type safety. All utilities include graceful fallbacks and handle edge cases robustly with minimal dependencies.

Decorators

Design pattern implementations following SOLID principles. Provides behavioral, structural, and lifecycle decorators for enhanced functionality and code organization.

  • Behavioral - Retry logic and thread synchronization
  • Structural - Singleton pattern enforcement with proper initialization
  • Lifecycle - Deprecation warnings and version management

Exception System

Comprehensive error handling with intelligent suggestions and hierarchical exception structure. Includes automatic error correction hints and similarity-based suggestions for common mistakes.


Architecture Overview

WrenchCL follows SOLID principles with clear separation of concerns:

  • Core: Lightweight logger and essential utilities (no optional deps)
  • Connect: AWS integrations with automatic configuration
  • Tools: Utility functions with graceful fallbacks
  • Decorators: Reusable design patterns
  • Exceptions: Hierarchical error handling with suggestions

Each module handles its own dependencies and provides meaningful fallbacks when optional packages aren't available.


Contributing

See the GitHub repository for development guidelines and contribution instructions.