Skip to content

PyGo Framework

Go owns the web. Python owns the domain. One process, zero ceremony.

PyGo is a monolithic-but-modular web framework where each technology does what it is best at:

  • Go serves HTTP, renders HTML, and handles the web layer — fast, tiny, single static binary.
  • Python implements your domain logic, business rules, and data models — expressive, batteries-included.
  • They talk to each other over a local Unix Domain Socket (UDS) using MessagePack — no network, no serialization tax, sub-millisecond.

One process

No microservices, no container orchestration. pygo dev runs the Go supervisor + the Python runtime together.

Native dual language

Write routes in Go, business logic in Python. Call Python from Go with pygo.call(...) and get typed results back.

Ultrailight

No gin, no SQLAlchemy, no heavy runtimes. Native net/http + Python stdlib. Single binary deploys anywhere.

Self-updating CLI

pygo upgrade fetches the latest release from GitHub and verifies its checksum before installing.

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
pygo build --embed-python # single binary with Python bundled