from wolframclient.serializers import export

export({'float': 1.2, 'bool': False, 'string': 'hello world!', 'bytes': b'\x00\xFF'}, target_format='wxf')

from wolframclient.language import wl

wl_expr = wl.BarChart(wl.Range(5))

export(wl_expr, target_format='wxf')

BinaryDeserialize[%]