python

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package python exposes the Seshat-managed Python subprocess layer. It re-exports DoclingManager from internal/python so callers outside the seshat module (e.g. the product API server) can start and stop docling-serve without accessing internal packages.

Index

Constants

View Source
const (
	DefaultDoclingPort = internalpython.DefaultDoclingPort
	DefaultDoclingHost = internalpython.DefaultDoclingHost
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DoclingManager

type DoclingManager = internalpython.DoclingManager

DoclingManager starts and owns a docling-serve subprocess. Use DefaultDoclingManager() for the standard runtime-root venv.

func DefaultDoclingManager

func DefaultDoclingManager() *DoclingManager

DefaultDoclingManager creates a manager using the Seshat runtime root venv (~/.config/seshat/.venv or $SESHAT_RUNTIME_ROOT/.venv). Returns nil if the venv or docling-serve binary is not installed.

func NewDoclingManager

func NewDoclingManager(venvDir, host string, port int) *DoclingManager

NewDoclingManager creates a manager for the venv at venvDir.

Jump to

Keyboard shortcuts

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