Skip to content

convenient julia->python conversion of structured data #200

Closed
@amilsted

Description

@amilsted

Hello! Thanks for PythonCall/juliacall :)

Currently, passing e.g. {"s": 2, "t": 3} to Julia will result in a PyDict{Py, Py}. It would be great to have a way to convert such structured data with "simple" python elements into native types (in this case Dict{String, Int}).

The pyconvertnative() idea from #172 seems like it could handle this case?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions