# Modules Documentation The modules directory contains core functionality components of the devb.io application. ## Available Modules ### 1. LinkedIn Fetcher - Class: `LinkedInProfileFetcher` - Purpose: Fetches and processes LinkedIn profile data - Key Features: - Asynchronous profile fetching - LinkedIn username validation - Response processing and structuring ### 2. GitHub Contributions Fetcher - Class: `GitHubContributionsFetcher` - Purpose: Fetches and processes GitHub user contributions - Features: - Configurable time range (default: 120 days) - Recent contributions tracking - Contribution statistics aggregation ### 3. GitHub Project Ranker - Class: `GitHubProjectRanker` - Purpose: Ranks and analyzes GitHub repositories - Features: - Repository fetching with authentication - Pinned repositories support - GraphQL API integration ### 4. AI Generator - Purpose: Handles AI-related functionality - Located in: `ai_generator.py` ### Module Structure ``` modules/ ├── ai_generator.py ├── contributions_fetcher.py ├── github_fetcher.py ├── github_projects.py ├── linkedin_fetcher.py └── tests/ └── test files ``` ## Testing The modules include a dedicated `tests` directory for unit tests and integration tests. Each module's functionality is tested independently to ensure reliability.