Skip to content

NeoSkillFactory/python-to-go-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-to-go-converter

Audit License OpenClaw

Automatically converts Python code to optimized Go code for performance-critical applications.

Features

  • Convert Python source files to Go with preserved functionality
  • Intelligent Python-to-Go type mapping (int, str, list, dict, classes, etc.)
  • Translate common Python standard library imports to Go equivalents
  • Generate properly formatted Go code with comments
  • Provide detailed error diagnostics for unsupported Python features
  • CLI interface for batch conversion and agent integration
  • Support for functions, classes, control flow, and basic data structures

Examples

# Convert a single file
python3 scripts/converter.py convert input.py --output output.go

# Convert with diagnostics
python3 scripts/converter.py convert myscript.py --verbose

Quick Start

Installation

The skill is installed as part of an OpenClaw skill package. Ensure dependencies are met (Python 3.8+, go compiler in PATH).

GitHub

Source code: github.com/NeoSkillFactory/python-to-go-converter

License

MIT © NeoSkillFactory

About

Automatically converts Python code to equivalent Go code for performance-critical applications.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors