No description
  • Python 55.6%
  • Go 44.4%
Find a file
Snider 9d1ea2f73b chore: bootstrap core/py polyglot skeleton
Initial repo shape per RFC §8.1:
- bindings/ for Go-side primitive bindings
- runtime/ for gpython host integration
- py/core/ for the Python-side package
- py/tests/ for the Python test suite
- examples/ for polyglot example programs

Module: dappco.re/go/py (Go host)
Python package: core (under py/core/)
Spec: plans/code/core/py/RFC.md

Bootstrap only — empty skeleton ready for factory dispatches to fill.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-14 16:34:26 +01:00
py chore: bootstrap core/py polyglot skeleton 2026-04-14 16:34:26 +01:00
runtime chore: bootstrap core/py polyglot skeleton 2026-04-14 16:34:26 +01:00
CLAUDE.md chore: bootstrap core/py polyglot skeleton 2026-04-14 16:34:26 +01:00
go.mod chore: bootstrap core/py polyglot skeleton 2026-04-14 16:34:26 +01:00
README.md chore: bootstrap core/py polyglot skeleton 2026-04-14 16:34:26 +01:00

core/py — Python Binding for Core Primitives

The fourth corner of the polyglot primitive stack. Python code imports core the way Go code imports core/go. Same primitives, same shape, same tests, different syntax surface.

Two tiers:

  • Tier 1 (gpython-embedded): ships inside any CoreGO binary that imports dappco.re/go/py. Pure-Go Python interpreter, no host CPython required.
  • Tier 2 (CPython-via-uv): managed CPython subprocess for code that needs C extensions or 3.14 features beyond gpython's coverage.

Layout

Path Purpose
bindings/ Go-side primitive bindings (fs, json, medium, options, process, service, math, typemap)
runtime/ gpython host integration
py/core/ Python-side package (installable via uv)
py/tests/ Python test suite
examples/ Polyglot example programs

Spec

plans/code/core/py/RFC.md in the spec tree — read first.

Status

Bootstrap. Empty skeleton ready for factory dispatches.