We deliver solutions for the AI eraâcombining symbolic computation, data-driven insights and deep technical expertise
Use Python serialization methods to export an expression to the WXF format.
Import the Python function export from the Wolfram Client LibraryThe export function is the cornerstone of the serialization module:
from wolframclient.serializers import export Serialize a Python objectMany Python built-in types are serialized to their Wolfram Language counterparts:
export({'float': 1.2, 'bool': False, 'string': 'hello world!', 'bytes': b'\x00\xFF'}, target_format='wxf')Convert to a Wolfram Language expression using BinaryDeserialize:
Write arbitrary Wolfram Language expressions in PythonCreate an expression in Python using the wl function:
from wolframclient.language import wl wl_expr = wl.BarChart(wl.Range(5))Export it to the WXF format by specifying it as the target format:
export(wl_expr, target_format='wxf')Convert to a Wolfram Language expression using BinaryDeserialize:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4