Packaging Zig as Python packages

You can also check how I am doing this in zignal

Basically, use the raw cpython API from Zig, see which patterns repeat, and factor them out in: zignal/bindings/python/src/py_utils.zig at master · bfactory-ai/zignal · GitHub

1 Like