Skip to content

0.0.18

Latest

Choose a tag to compare

@jcschaff jcschaff released this 18 Jul 23:32
2f83614

What's new in 0.0.18

  • Expression evaluation: evaluate_expression(expression_infix, symbol_table) evaluates a native-syntax VCell infix expression against a {symbol: value} table and returns a 64-bit float, or raises VCellExpressionError (carrying the originating error type and message). No VCell model is required — a lightweight symbol-table binding is used.
from libvcell import evaluate_expression, VCellExpressionError
evaluate_expression("a + b/c", {"a": 10.0, "b": 20.0, "c": 5.0})  # -> 14.0

Also adds a docs/design.md describing the library architecture and how to add native entry points.

Packaging

One py3-none-<platform> wheel per platform (macOS Apple Silicon, Windows, Linux x86_64 + aarch64, manylinux 2_28 / 2_34).