For automatic python bindings I have used github.com/go-python/gopy
https://github.com/justinfx/pygo-plugin/blob/main/go_plugin/client.go
And for pure cpython bindings I have used:
- py2: github.com/sbinet/go-python
- py3: github.com/DataDog/go-python3
- Justin
On Tuesday, May 23, 2023 at
For CPython, there's github.com/go-python/gopy that tries to automatically wrap
a Go package into a CPython module.
There's also go-python/gpython, a pure-Go Python3 interpreter (without all the
batteries, though).
For JS, I guess there's GopherJS.
hth,
-s
May 23, 2023 02:35:15 Taco de Wolff
On Mon, May 22, 2023 at 6:35 PM Taco de Wolff wrote:
> I would like to know if anyone has experience with building bindings for
> JavaScript (NodeJS) and Python for a Go library. Who has worked on this, or
> does anybody know of libraries that have succeeded?
>
I used the following two libraries
I would like to know if anyone has experience with building bindings for
JavaScript (NodeJS) and Python for a Go library. Who has worked on this, or
does anybody know of libraries that have succeeded? In particular, I have
successfully built working JS and Python bindings (see
https://github.co