Command
Generate
tezzc pyext module.tn [out_dir] [--module name]
The generator emits CPython wrapper C, an ABI header, setup metadata, ownership docs, and a deterministic wrapped/skipped manifest.
Python Bridge
Milestone 6 adds a gated CPython extension scaffold generator for ABI-safe TezzNative functions.
tezzc pyext module.tn [out_dir] [--module name]
The generator emits CPython wrapper C, an ABI header, setup metadata, ownership docs, and a deterministic wrapped/skipped manifest.
<module>_pyext.c CPython wrapper source.<module>.h ABI declarations for wrapped functions.setup.py setuptools scaffold using native objects or libraries.README.md ownership and build notes.pyext_manifest.tnx wrapped/skipped function summary.| TezzNative | Python Input | Python Return |
|---|---|---|
int / i64 | Python int | Python int |
u8 | Python int 0..255 | Python int |
float / f64 | Python float | Python float |
*char / *u8 parameter | Contiguous buffer object | Not returned |
void return | n/a | None |
PyObject_GetBuffer only for the call duration.powershell -ExecutionPolicy Bypass -File .\tests\conformance\run-python-bridge.ps1 -Tezzc .\TezzNative-language\build\tezzc.exe
bash tests/conformance/run-python-bridge.sh ./TezzNative-language/bin/tezzc-linux-x64
PYBRIDGE_SUMMARY passed=8 failed=0