-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python bindings #162
Comments
Original reply by @mpvl in cuelang/cue#162 (comment) This could live in a |
Original reply by @mpvl in cuelang/cue#162 (comment) @jtrakk could you perhaps comment on which features you would want to expose in the API. The API of CUE is quite large. |
Original reply by @jtrakk in cuelang/cue#162 (comment) 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 |
Original reply by @bep in cuelang/cue#162 (comment) SInce Cue is a Go project, it would probably make sense to look at https://github.com/google/starlark-go |
Original reply by @mbarkhau in cuelang/cue#162 (comment) This project has been created in the meantime: https://pypi.org/project/pycue/ It's a wrapper around the |
There's this https://github.com/philipdexter/pycue which I created a long time ago |
This allows the main CUE repo to trigger a build check on some event in the main CUE repo, e.g. a new release. This is a basic way to ensure that cuelang.org is always using the latest CUE version. Also flip to using GOPROXY=direct for the go get check (so we don't hit a potentially stale proxy)
Originally opened by @jtrakk in cuelang/cue#162
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: