python

package
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CeleryTaskDetector

type CeleryTaskDetector struct{}

CeleryTaskDetector ports io.github.randomcodespace.iq.detector.python.CeleryTaskDetector.

func NewCeleryTaskDetector

func NewCeleryTaskDetector() *CeleryTaskDetector

func (CeleryTaskDetector) DefaultConfidence

func (CeleryTaskDetector) DefaultConfidence() model.Confidence

func (CeleryTaskDetector) Detect

func (CeleryTaskDetector) Name

func (CeleryTaskDetector) Name() string

func (CeleryTaskDetector) SupportedLanguages

func (CeleryTaskDetector) SupportedLanguages() []string

type DjangoAuthDetector

type DjangoAuthDetector struct{}

DjangoAuthDetector ports io.github.randomcodespace.iq.detector.python.DjangoAuthDetector.

func NewDjangoAuthDetector

func NewDjangoAuthDetector() *DjangoAuthDetector

func (DjangoAuthDetector) DefaultConfidence

func (DjangoAuthDetector) DefaultConfidence() model.Confidence

func (DjangoAuthDetector) Detect

func (DjangoAuthDetector) Name

func (DjangoAuthDetector) Name() string

func (DjangoAuthDetector) SupportedLanguages

func (DjangoAuthDetector) SupportedLanguages() []string

type DjangoModelDetector

type DjangoModelDetector struct{}

DjangoModelDetector detects Django ORM models (class Foo(models.Model)) plus ForeignKey / ManyToManyField edges. Phase 1 = regex; AST in phase 4.

func NewDjangoModelDetector

func NewDjangoModelDetector() *DjangoModelDetector

func (DjangoModelDetector) DefaultConfidence

func (DjangoModelDetector) DefaultConfidence() model.Confidence

func (DjangoModelDetector) Detect

func (DjangoModelDetector) Name

func (DjangoModelDetector) Name() string

func (DjangoModelDetector) SupportedLanguages

func (DjangoModelDetector) SupportedLanguages() []string

type DjangoViewDetector

type DjangoViewDetector struct{}

DjangoViewDetector ports io.github.randomcodespace.iq.detector.python.DjangoViewDetector. Phase 4 = regex (matches the Java detectWithRegex fallback path).

func NewDjangoViewDetector

func NewDjangoViewDetector() *DjangoViewDetector

func (DjangoViewDetector) DefaultConfidence

func (DjangoViewDetector) DefaultConfidence() model.Confidence

func (DjangoViewDetector) Detect

func (DjangoViewDetector) Name

func (DjangoViewDetector) Name() string

func (DjangoViewDetector) SupportedLanguages

func (DjangoViewDetector) SupportedLanguages() []string

type FastAPIAuthDetector

type FastAPIAuthDetector struct{}

FastAPIAuthDetector ports io.github.randomcodespace.iq.detector.python.FastAPIAuthDetector.

func NewFastAPIAuthDetector

func NewFastAPIAuthDetector() *FastAPIAuthDetector

func (FastAPIAuthDetector) DefaultConfidence

func (FastAPIAuthDetector) DefaultConfidence() model.Confidence

func (FastAPIAuthDetector) Detect

func (FastAPIAuthDetector) Name

func (FastAPIAuthDetector) Name() string

func (FastAPIAuthDetector) SupportedLanguages

func (FastAPIAuthDetector) SupportedLanguages() []string

type FastAPIRouteDetector

type FastAPIRouteDetector struct{}

FastAPIRouteDetector ports io.github.randomcodespace.iq.detector.python.FastAPIRouteDetector.

func NewFastAPIRouteDetector

func NewFastAPIRouteDetector() *FastAPIRouteDetector

func (FastAPIRouteDetector) DefaultConfidence

func (FastAPIRouteDetector) DefaultConfidence() model.Confidence

func (FastAPIRouteDetector) Detect

func (FastAPIRouteDetector) Name

func (FastAPIRouteDetector) SupportedLanguages

func (FastAPIRouteDetector) SupportedLanguages() []string

type FlaskRouteDetector

type FlaskRouteDetector struct{}

FlaskRouteDetector detects Flask @app.route / @blueprint.route decorators. Phase 1 = regex (matches Java FlaskRouteDetector's regex-fallback path).

Per phase-1 plan, this emits ONE endpoint node per route (using the first HTTP method declared). The Java side emits one per method; we match the phase-1 plan's test which asserts a 1:1 route→node mapping. Phase 4 will reconcile when the AST path lands.

func NewFlaskRouteDetector

func NewFlaskRouteDetector() *FlaskRouteDetector

func (FlaskRouteDetector) DefaultConfidence

func (FlaskRouteDetector) DefaultConfidence() model.Confidence

func (FlaskRouteDetector) Detect

func (FlaskRouteDetector) Name

func (FlaskRouteDetector) Name() string

func (FlaskRouteDetector) SupportedLanguages

func (FlaskRouteDetector) SupportedLanguages() []string

type KafkaPythonDetector

type KafkaPythonDetector struct{}

KafkaPythonDetector ports io.github.randomcodespace.iq.detector.python.KafkaPythonDetector.

func NewKafkaPythonDetector

func NewKafkaPythonDetector() *KafkaPythonDetector

func (KafkaPythonDetector) DefaultConfidence

func (KafkaPythonDetector) DefaultConfidence() model.Confidence

func (KafkaPythonDetector) Detect

func (KafkaPythonDetector) Name

func (KafkaPythonDetector) Name() string

func (KafkaPythonDetector) SupportedLanguages

func (KafkaPythonDetector) SupportedLanguages() []string

type PydanticModelDetector

type PydanticModelDetector struct{}

PydanticModelDetector ports io.github.randomcodespace.iq.detector.python.PydanticModelDetector.

func NewPydanticModelDetector

func NewPydanticModelDetector() *PydanticModelDetector

func (PydanticModelDetector) DefaultConfidence

func (PydanticModelDetector) DefaultConfidence() model.Confidence

func (PydanticModelDetector) Detect

func (PydanticModelDetector) Name

func (PydanticModelDetector) SupportedLanguages

func (PydanticModelDetector) SupportedLanguages() []string

type PythonStructuresDetector

type PythonStructuresDetector struct{}

PythonStructuresDetector ports io.github.randomcodespace.iq.detector.python.PythonStructuresDetector. Phase 4 = regex-only (matches Java's regex fallback path).

func NewPythonStructuresDetector

func NewPythonStructuresDetector() *PythonStructuresDetector

func (PythonStructuresDetector) DefaultConfidence

func (PythonStructuresDetector) DefaultConfidence() model.Confidence

func (PythonStructuresDetector) Detect

func (PythonStructuresDetector) Name

func (PythonStructuresDetector) SupportedLanguages

func (PythonStructuresDetector) SupportedLanguages() []string

type SQLAlchemyModelDetector

type SQLAlchemyModelDetector struct{}

SQLAlchemyModelDetector ports io.github.randomcodespace.iq.detector.python.SQLAlchemyModelDetector.

func NewSQLAlchemyModelDetector

func NewSQLAlchemyModelDetector() *SQLAlchemyModelDetector

func (SQLAlchemyModelDetector) DefaultConfidence

func (SQLAlchemyModelDetector) DefaultConfidence() model.Confidence

func (SQLAlchemyModelDetector) Detect

func (SQLAlchemyModelDetector) Name

func (SQLAlchemyModelDetector) SupportedLanguages

func (SQLAlchemyModelDetector) SupportedLanguages() []string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL