|Resource page for pytogo 1.2||07 Oct 2018|
Fast, crude, incomplete, but useful Python to Go source translator.
Intended to assist a human translator rather than fully automate the process, but often produces something closer to idiomatic handwritten Go than fully automated tools can.
|pytogo-1.2.md5||source tarball MD5 checksum|
|pytogo-1.2.tar.gz||gzipped source tarball|
|pytogo.html||HTML rendering of pytogo.1|
The project repository is at https://gitlab.com/esr/pytogo.
If you appreciate this code (and especially if you make money by using it) please support me on Patreon.
1.2: 2018-10-07:: PEP484 type hints are now converted into Go type signatures. Without PEP484 hints, return types of functions are now sometimes deduced. Docstrings are moved to the godoc-preferred position above the signature. Python math and cmath library functions are mapped over. Python shebang lines are recognized and converted to "package main". Map variadic function sgnatures to use "..." Import translation.
This work is funded by...
My Bronze supporters on Patreon: Martin Hohenberg, Jae Yang, Daniel Garber, Kyle Burkholder, Mike Nichols, Mark Ping, Tom Taylor, Arnold F. Williams, George Brower, Michael Nygard, Brendan Long, Sven Dowideit, Dave Witten, Jonathan Cast, James Cronin, David L. Jessup, Christopher Chang, Killer Delicious, Jacob Lyles, Neil Anuskiewicz, Mordant, Clemens Ladisch, Wojciech Woytniak, Masa Bando, John Carmack, Xingyu Wang, Jane Tang, Steven Evans, Jan Roudaut.My Institutional supporters on Patreon: Jason Azze and the DEVOPS team at his $DAYJOB.