INNER CODE UNIT · Python

extract_tool_info

collabnix/kubetools · scripts/discover_tools.py:84

    def extract_tool_info(self, repo):
        """Extract relevant information from GitHub repo"""
        return {
            'name': repo['name'],
            'full_name': repo['full_name'],
            'description': repo.get('description', ''),
            'url': repo['html_url'],
            'stars': repo['stargazers_count'],
            'topics': repo.get('topics', []),
            'created_at': repo['created_at'],
        }

    def is_valid_kubernetes_tool(self, tool):
        """Validate if this is a legitimate Kubernetes tool"""
        desc = tool['description'].lower()
        topics = [t.lower() for t in tool['topics']]
        name = tool['name'].lower()
        

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…