This is a simple project demonstrating how to package a Go binary along with a Python wrapper and make it installable using pip.
-
Go Binary
The Go binary in this project prints "Hello from Go!".
-
Python Wrapper
The Python wrapper script (
wrapper.py
) executes the Go binary and prints its output. -
Tests
The python file (
wrapper_test.py
) executes one tests to test the output of the golang binary.
You can install this package using pip (https://pypi.org/project/go-pkg/):
pip install go-pkg