Closed
Description
Well, I wanted this to be an "issue", but really I have a request for wee bit of help. I asked this on discourse (https://discourse.julialang.org/t/pythoncall-equivalent-to-pycalls-pytype-mapping/77086) but found no answers.
I want to see if I can use PythonCall
to replace PyCall
with SymPy.jl
and to do so am looking for someway to automatically convert the underlying sympy objects into julia objects (such as Py, though with a type from SymPy.) I think the right approach is pyconvert_add_rule
but can't seem to get it working. As a test case, my current use of PyCall::pytype_mapping
to do this is basically: pytype_mapping(sympy.core.basic.Basic, Sym)
.
Metadata
Metadata
Assignees
Labels
No labels