-
Notifications
You must be signed in to change notification settings - Fork 170
Python bindings #162
Comments
This could live in a |
@jtrakk could you perhaps comment on which features you would want to expose in the API. The API of CUE is quite large. |
Even a minimal set of features could be useful. For example, translation between CUE strings and built-in Python types (or even JSON strings) would be enough to get started with CUE if it were packaged on PyPI so I could just |
SInce Cue is a Go project, it would probably make sense to look at https://github.com/google/starlark-go |
This project has been created in the meantime: https://pypi.org/project/pycue/ It's a wrapper around the |
This issue has been migrated to cue-lang/cue#162. For more details about CUE's migration to a new home, please see cue-lang/cue#1078. |
I'm wondering if CUE might support Python bindings.
As far as I know, the simplest and most widely supported interfaces are via CFFI, as in this Go example. Binaries can be distributed in the wheel format on PyPI.
The text was updated successfully, but these errors were encountered: