vibe-sketcherDocumentation

vibesketcher.document.property_data

Bounded, read-only property comparisons (#166).

Calculator definitions and literature citations remain in chem.analysis. The graph source is each species’ stored SMILES; no layout or geometry is generated. Molecular masses use the same rounding as chem.report.

Functions

property_data(document, *[, columns, ...])

Compare stored species, preserving row failures and source order.

render_property_data(data, format)

Encode a comparison; CSV stays machine-readable, provenance lives in JSON.

snapshot_digest(document)

SHA-256 of the full canonical JSON snapshot, including its revision.

vibesketcher.document.property_data.snapshot_digest(document)[source]

SHA-256 of the full canonical JSON snapshot, including its revision.

Parameters:

document (Document)

Return type:

str

vibesketcher.document.property_data.property_data(document, *, columns=None, species=None, sort=None, descending=False, offset=0, limit=None, progress=None, cancelled=None)[source]

Compare stored species, preserving row failures and source order.

Cancellation is checked between rows. A cancelled result is explicitly incomplete and contains only completed rows, before pagination. Native RDKit calls are not promised to be interruptible. Sorting precedes paging; each request’s calculation is bounded by MAX_ROWS and MAX_ATOMS.

Parameters:
Return type:

dict[str, Any]

vibesketcher.document.property_data.render_property_data(data, format)[source]

Encode a comparison; CSV stays machine-readable, provenance lives in JSON.

Parameters:
Return type:

bytes