Skip to main content

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.

Source Distribution

py2java-0.0.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py2java-0.0.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file py2java-0.0.1.tar.gz.

File metadata

  • Download URL: py2java-0.0.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for py2java-0.0.1.tar.gz
Algorithm Hash digest
SHA256 64de9348db161cfd83f01178fec6f3cffd89a177698905a0022550ef31589622
MD5 efdd9d3240a5420a850536167e6dfb39
BLAKE2b-256 a912e2e1b2199fce943efc2190323c724ea49ed2e650b4dd2118376bccbc1eec

See more details on using hashes here.

File details

Details for the file py2java-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: py2java-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for py2java-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dffbf184a16b85f69820ff97edfb110e75b37134ee5feb522303387d4d8752ae
MD5 c4399a84fec94aec1284dd1b9f9e69cd
BLAKE2b-256 686fea3199baa6926e105ef3f4567ea80222d5dfaa71c6b32f123e718e860812

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page