No description
- Python 55.6%
- Go 44.4%
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> |
||
|---|---|---|
| py | ||
| runtime | ||
| CLAUDE.md | ||
| go.mod | ||
| README.md | ||
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.