Module Reference

Complete reference of all modules, classes, and functions in Capcat.

Modules by Package

Capcat

Compiles CSS custom properties from the design system into hardcoded values for performance optimization and self-contained HTML generation

Clean architecture implementation applying SOLID principles:

  • Single Responsibility: Each class has one clear purpose
  • Open/Closed: Extensible via strategy pattern
  • Liskov Substitution: RetryStrategy implementations interchangeable
  • Interface Segregation: Small, focused interfaces
  • Dependency Inversion: Depend on abstractions not concretions
  • capcat.core.pdf_landing_resolver - Resolve direct PDF URLs to their HTML landing pages where possible
  • capcat.core.progress - Progress indicators and status reporting for Capcat
  • capcat.core.rate_limiter - Rate limiting system for Capcat to prevent overwhelming source servers
  • capcat.core.retry - Retry mechanisms with exponential backoff for Capcat
  • capcat.core.retry_skip - Retry-and-Skip Logic for Network Resilience

Implements intelligent retry-and-skip mechanism for sources that timeout or refuse connection

Root

Scripts

Automatically extracts and generates comprehensive documentation from the codebase

Creates Mermaid diagrams for system architecture, data flow, and component relationships

This script provides robust virtual environment management with:

  • Intelligent venv validation and repair
  • Dependency verification and installation
  • Path corruption detection and fixing
  • Fallback mechanisms for common issues
  • Comprehensive logging and diagnostics

Usage: python3 scripts/setup_dependencies

Statistics

  • Total Modules: 110
  • Total Classes: 196
  • Total Functions: 316
  • Public Functions: 225
  • Documentation Coverage: 71.2%