python

package module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package python provides Python chunking using tree-sitter.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct{}

Provider chunks Python files using tree-sitter.

func New

func New() *Provider

New creates a new Python chunking provider.

func (*Provider) Chunk

func (p *Provider) Chunk(_ context.Context, _ string, content []byte) ([]chisel.Chunk, error)

Chunk parses Python source and extracts semantic chunks.

func (*Provider) Language

func (p *Provider) Language() chisel.Language

Language returns the Python language identifier.

Jump to

Keyboard shortcuts

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