Skip to main content

Code Transpiler Python

Python package facade for the Code Transpiler / Semantic Programming Language engine.

This bootstrap release provides:

  • Python API: transpile(), semantic_json(), languages()
  • CLI: code-transpiler
  • Tkinter GUI: code-transpiler-gui
  • Bundled headless Code Transpiler engine for Windows x86-64 and Linux x86-64
  • A self-transpile helper that attempts Go -> Python conversion file-by-file

The bundled engine is built from the repository's own headless tools/matrix-audit entry point. This keeps the Python package usable while the very large compiler implementation is progressively ported from Go to Python. The GUI has no Gio dependency.

Install locally

py -m pip install .

Python API

from codetranspiler import transpile

source = 'x = 2\nprint(x + 3)\n'
print(transpile("python", "go", source))

CLI

code-transpiler transpile --source python --target go input.py
code-transpiler languages
code-transpiler semantic-json --source python input.py
code-transpiler gui

GUI

code-transpiler-gui

The GUI uses only Python's standard-library tkinter.

License and third-party notices

Code Transpiler Python is licensed under the MIT License.

Copyright (c) 2026 Tarek Wasfy

The distribution includes the project license and the notices/licenses required for bundled or derived components under licenses/, including Py2Many and Tree-sitter notices, plus the original THIRD_PARTY_NOTICES from the Go project. These files are also packaged inside the wheel so they remain available after installation.

Release files for code-transpiler-python 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for code-transpiler-python 0.2.0
File Size Uploaded
code_transpiler_python-0.2.0.tar.gz 18.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for code-transpiler-python 0.2.0
File Interpreter ABI Platform
code_transpiler_python-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 37.2 MB

Release files / code_transpiler_python-0.2.0.tar.gz

Download URL code_transpiler_python-0.2.0.tar.gz
Size 18.5 MB
Tags Source
SHA-256 checksum
How to use checksums
12db73c3146207662c3128c7288164c4e344a5ee9eb4f675da066ddd995c7e7e
BLAKE2b-256 checksum
How to use checksums
7781e867a17c393a803ff1c3d7ed0de2f5d262eefb4eae97e472b0e1855323ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / code_transpiler_python-0.2.0-py3-none-any.whl

Download URL code_transpiler_python-0.2.0-py3-none-any.whl
Size 18.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
7cc57eb1675a11c5ccbf21be4042a5487a25ca0a3fe6f443e721d6577c332cdb
BLAKE2b-256 checksum
How to use checksums
f035c7901e99559ab99681706ead5556803f2bf6cd0fc913b5ab2dba235b8bb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page