Run Python like a Local Function in Go: No CGO, No Microservices

2025-09-16
Run Python like a Local Function in Go: No CGO, No Microservices

pyproc is a Go library enabling you to call Python functions as if they were local, eliminating the need for CGO or microservices. Leveraging Unix Domain Sockets for inter-process communication, it offers zero network overhead, process isolation, and true parallelism to bypass Python's GIL. Ideal for integrating existing Python ML models, data processing, and gradually migrating from Python microservices to Go, pyproc boasts high performance handling thousands of requests per second.