API Reference
Subpackages and Modules
VimSheet Textual application. |
|
Tab-completion engine for command mode. |
|
Static help entries — key bindings and commands. |
|
Help registry — manages sections, subgroups, and renders help content. |
|
Mode state machine and key event handlers. |
|
Edit mode key handler — vi-style line editing of existing cell content. |
|
Insert mode key handler. |
|
Macro recording and replay for vim-style q{reg}/@{reg} macros. |
|
Mode enum and state-machine transitions. |
|
Normal mode key handler — all vim-like Normal mode bindings. |
|
Find-and-replace logic for VimSheet. |
|
Visual mode key handler. |
|
FetchManager — coordinates background HTTP fetches per cell. |
|
Low-level HTTP fetch helpers — no Textual or VimSheet model imports. |
|
Formula engine: tokenizer, parser, evaluator, dependency graph. |
|
AST node dataclasses for the formula parser. |
|
Dependency DAG for formula recalculation. |
|
Formula evaluator — walks the AST and resolves values. |
|
Recursive-descent parser — converts a Token list into an AST. |
|
Formula lexer — converts a formula string into a list of Tokens. |
|
Token types and Token dataclass for the formula lexer. |
|
Auto-import all function modules to populate the registry. |
|
Date/Time built-in functions. |
|
Logic built-in functions. |
|
Lookup and reference built-in functions. |
|
Math and aggregation built-in functions. |
|
Network formula functions — @FETCH. |
|
Function registry — maps uppercase names to callable implementations. |
|
Text built-in functions. |
|
VimSheet I/O adapters package. |
|
Abstract base class for all format adapters. |
|
CSV / TSV import and export adapter. |
|
HTML table export adapter. |
|
JSON I/O for VimSheet. |
|
LaTeX tabular export adapter. |
|
Markdown table export adapter. |
|
Adapter registry — maps file extensions and format names to FormatAdapter instances. |
|
Legacy Excel .xls import via xlrd. |
|
Excel .xlsx import/export via openpyxl. |
|
Data model: Cell, Sheet, Workbook, Range. |
|
Cell and CellFormat dataclasses. |
|
Runtime configuration for VimSheet. |
|
A1 notation helpers and named-range registry. |
|
Sheet model — a single tab in a workbook. |
|
Command-pattern undo/redo stack for VimSheet. |
|
Cell data-validation rules. |
|
Workbook model — a collection of sheets with session state. |
|
VimSheet plotting package. |
|
Spreadsheet chart rendering — ASCII fallback, plotext when available. |
|
VimSheet scripting package. |
|
VimSheet scripting engine — executes a mini-DSL of spreadsheet commands. |
|
Textual UI widgets. |
|
Buffer list overlay — shown by :buffers / :bufs / :ls. |
|
Chart display overlay for VimSheet. |
|
FetchListScreen — modal listing all active FETCH cells. |
|
Formula bar widget — address, formula/value display, mode indicator. |
|
Functions reference modal — lists all formula functions with signatures. |
|
GridWidget — virtual-scrolling spreadsheet grid with variable row heights. |
|
Full-screen help overlay with tabs, collapsible subgroups, and vim search. |
|
Sheet tab strip — rendered inline via Rich Text, scrollable via mouse wheel. |
|
Status bar widget — mode, position, stats, file status, clock. |
|
Base class for all VimSheet modal screens with vim-style scroll bindings. |