Skip to content
This repository has been archived by the owner on Mar 21, 2023. It is now read-only.

SanderMertens/python-binding

Repository files navigation

Python Binding for Corto Build Status

Use Corto from Python.

Example:

cortopy.eval(
"""
struct Point3d::
    x, y, z: int64
struct Point4d: Point3d::
    w: int64
"""
)
a = cortopy.declare_child(None, "a", Point4d)
a.w = 11
a.x = 22
a.y = 33
a.z = 44
print("w = {}, x = {}, y = {}, z = {}".format(o.w, o.x, o.y, o.z))

About

Python for Corto

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published