Wolfram Client Library for Python

The client library provides seamless Wolfram Language integration in Python.

Local Wolfram Language Sessions

start a persistent session with a local Wolfram Engine

perform tasks asynchronously using Python coroutines

Wolfram Cloud Sessions

connect to a cloud, public or private

perform tasks asynchronously using Python coroutines

Session Object Methods

evaluate a Wolfram Language expression from Python

evaluate a Wolfram Language expression asynchronously

create a Python function from a Wolfram Language expression

  ▪    ▪    ▪    ▪ 

Expression Representation

represent expressions with Python objects

represent expressions with InputForm strings

Serialization & Deserialization

give a binary representation of Python objects in the requested format

create a Python object from WXF bytes

Exceptions

  ▪    ▪    ▪