Paper Office
paper-xlsxAPI referencepreserve.perception

DependencySketch

paper-xlsx 0.2.1 API reference

Coarse formula-dependency map: which cells feed which.

references maps each formula cell (sheet-qualified A1) to the list of references its formula makes, as (sheet_title, bounds, raw) tuples — bounds may contain None for open-ended (whole-row/column) ranges. Structured references that cannot be resolved to cells are listed in unresolved (treated as always-intersecting).

DependencySketch()

Attributes

contextual

attributecontextual
= set()

references

attributereferences
= {}

unresolved

attributeunresolved
= {}

volatile

attributevolatile
= set()

Functions

cells_referencing

funccells_referencing(sheet_title, bounds)

Formula cells whose references intersect bounds on the given sheet — plus every cell with an unresolved (structured/table) reference, reported conservatively.

paramsheet_title
parambounds

to_dict

functo_dict()

On this page