{"repo":"nottheswimmer/pytago","free":true,"listed":false,"github":"https://github.com/nottheswimmer/pytago","clone":"git clone https://github.com/nottheswimmer/pytago.git","description":"A source-to-source transpiler for Python to Go translation","language":"Python","stars":396,"topics":["golang","python","transpiler","mit","compiler","go","programming-languages","programming","codegen","parsing"],"license":"MIT","category":"dev-tools","readme_excerpt":"Pytago is a source-to-source transpiler that converts some Python into human-readable Go. Installation and usage There are two \"officially\" supported ways to use Pytago: 1. A web application you can run via docker 2. A locally-installed command-line tool Web application Prerequisites - Docker Installation and Usage Running pre-built container Building from source (Alternative) Usage Local command-line application Prerequisites - Go 1.18.x - Python 3.10.x - No, it will not work on 3.9 due to the (heavy) usage of match statements. - Required libraries for post-processing: Installation via pip via setup.py (dev) via setup.py Usage Examples All examples presented here are used as tests for the program. listappend Python Go abs Python Go helloworld Python Go input Python Go randomness Python Go string methods Python Go list methods Python Go set methods Python Go global code Python Go boolnumcompare Python Go add Python Go exponents Python Go variables Python Go floats Python Go numlist Python Go loops Python Go strings Python Go logical Python Go maths Python Go requestslib Python Go conditionals Python Go fstrings Python Go nestedfstrings Python Go dictionary Python Go writefile Python Go pass Python Go ellipsis Python Go missingreturntype Python Go continuestmt Python Go breakstmt Python Go whileloop Python Go sets Python Go contains Python Go tryexcept Python Go tryfinally Python Go asserts Python Go classes Python Go globals Python Go asyncawait Python Go yields Python Go isv","default_branch":null,"files":null,"tree":[],"storefront":"/r/nottheswimmer","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nottheswimmer/pytago/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}