TypstModule

Symbolica documentation for getting started, symbolic expressions, numerical evaluation, pattern matching, and APIs in Python and Rust.

TypstModule

class TypstModule

A local or package Typst module whose exports can be referenced safely.

Methods

Name Description
__repr__
content
file
function
package
value

__repr__

TypstModule.__repr__() -> builtins.str

content

TypstModule.content(export: builtins.str) -> _TypstContentRef

file

TypstModule.file(path: builtins.str | os.PathLike[builtins.str]) -> TypstModule

function

TypstModule.function(export: builtins.str) -> _TypstFunctionRef

package

TypstModule.package(specification: builtins.str) -> TypstModule

value

TypstModule.value(export: builtins.str) -> _TypstValueRef