Welcome to PyGo
Welcome to PyGo Framework
Section titled “Welcome to PyGo Framework”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/httppackage. - 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.
Why PyGo?
Section titled “Why PyGo?”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 devruns a Go supervisor that boots the Python runtime over UDS. - Single binary.
pygo build --embed-pythonbundles 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.
Quick start
Section titled “Quick start”# Install the CLI (Linux / macOS / Windows)curl -sL https://raw.githubusercontent.com/PyGo-Labs/pygo-framework/main/install.sh | bash
# Scaffold, develop, shippygo new myappcd myapppygo devOpen http://127.0.0.1:8080 in your browser.
Current stable release: v2.2.4 (requires Go 1.26.6+ and Python 3.11+).
Where to go next
Section titled “Where to go next”- Getting Started — install PyGo and build your first app.
- Architecture — understand how the Go/Python split works.
- Core Concepts — modules,
pygo.toml, and the UDS interop. - CLI Reference — every
pygocommand.