Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

Python to Java language translator

Project description

Python to Java language Translator

Install: ```pip install py2java``` import: ```python from py2java import PythonToJava ``` Usage: ```python sourceText = """ sourceText = "test" def main(): print(sourceText) class lol(object): \"\"\"docstring for lol\"\"\" _LOL = "test" # test variable """ translator = PythonToJava(useRegex=1) print(translator.compile(sourceText)) ```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for py2java, version 0.0.11
Filename, size File type Python version Upload date Hashes
Filename, size py2java-0.0.11-py3-none-any.whl (4.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size py2java-0.0.11.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page