Skip to content

Welcome to PyGo

PyGo is an ultralight, monolithic-but-modular web framework that lets each language do what it is best at:

  • Go owns the HTTP/web layer — fast, tiny, single static binary, using only the native net/http package.
  • Python owns the domain/business-logic layer — expressive, using only the Python standard library.
  • They talk to each other over a local Unix Domain Socket (UDS) using MessagePack — sub-millisecond, no network, no serialization tax.

PyGo is built on one principle: use only what is native to Go and Python stdlib. Zero heavy frameworks, zero bloat. Just net/http, database/sql, and the Python standard library.

  • One process. No microservices, no container orchestration. pygo dev runs a Go supervisor that boots the Python runtime over UDS.
  • Single binary. pygo build --embed-python bundles Python into one deployable file.
  • Simple DX. Write routes in Go and domain logic in Python; call Python from Go through the interop layer and get results back.
Terminal window
# Install the CLI (Linux / macOS / Windows)
curl -sL https://raw.githubusercontent.com/PyGo-Labs/pygo-framework/main/install.sh | bash
# Scaffold, develop, ship
pygo new myapp
cd myapp
pygo dev

Open http://127.0.0.1:8080 in your browser.

Current stable release: v2.2.4 (requires Go 1.26.6+ and Python 3.11+).