formulate

This module provides the main functions for Formulate.

exception formulate.ParseError(message: str, lark_error: LarkError)

Bases: Exception

formulate.from_numexpr(exp: str, **kwargs: dict[str, Any]) AST

Evaluate numexpr expressions.

formulate.from_root(exp: str, **kwargs: dict[str, Any]) AST

Evaluate ROOT expressions.