codegraph-python 0.4.1

Python parser plugin for CodeGraph - extracts code entities and relationships from Python source files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
"""User model."""

class User:
    """Represents a user."""
    
    def __init__(self, name, email):
        self.name = name
        self.email = email
    
    def get_display_name(self):
        """Get the display name."""
        return f"{self.name} <{self.email}>"