color_tools.interactive_manager

Interactive filament library manager using prompt_toolkit TUI.

This module provides a rich terminal user interface for managing owned filaments, with features like filtering, multi-select, autocomplete, and live search.

Requires the [interactive] extra:

pip install color-match-tools[interactive]

Example

>>> from color_tools.interactive_manager import run_interactive_manager
>>> run_interactive_manager()  # Launches TUI
color_tools.interactive_manager.run_interactive_manager(json_dir=None)[source]

Launch the interactive filament library manager TUI.

Parameters:

json_dir (Path | str | None) – Optional directory containing JSON data files

Raises:

SystemExit – If prompt_toolkit is not installed

Return type:

None

color_tools.interactive_manager.check_prompt_toolkit()[source]

Check if prompt_toolkit is installed.

Return type:

bool

Returns:

True if prompt_toolkit is available, False otherwise

color_tools.interactive_manager.show_install_message()[source]

Show helpful message if prompt_toolkit is not installed.

Return type:

None