Documentation
¶
Overview ¶
Package python provides Python analysis using tree-sitter. Detects imports, HTTP endpoints (Flask, FastAPI, Django), database connections, and messaging patterns.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Analyzer ¶
type Analyzer struct {
// contains filtered or unexported fields
}
Analyzer implements the scanner.Analyzer interface for Python files.
func (*Analyzer) Clone ¶
Clone returns an independent copy with a fresh tree-sitter parser. Tree-sitter parsers are not thread-safe; each goroutine needs its own.
func (*Analyzer) Extensions ¶
Extensions returns Python file extensions.
Click to show internal directories.
Click to hide internal directories.