gopy: extending CPython with Go
summary
gopy is a tool that converts a Go package into a CPython C-extension module by generating wrapper code, marshalling basic Go types and slices, and using cgo and the Go toolchain to build a loadable .so that Python can import. The demo shows the generated bindings compiling and importing successfully, highlighting the gopy command and the creation of a Python C-extension module.
AI-written summary · about








