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.11.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

py2java-0.0.11-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py2java-0.0.11.tar.gz
  • Upload date:
  • Size: 3.8 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.11.tar.gz
Algorithm Hash digest
SHA256 66239e45e85ea822d8e637d352d756fa11a5a54f57ae063d9423a78273af833a
MD5 4f26c30d21ab1ab49d72fe335ded7376
BLAKE2b-256 64a389569662cc9a2915de8f1afd069cba0b893a0f0b6ac8ebccc60336021791

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2java-0.0.11-py3-none-any.whl
  • Upload date:
  • Size: 4.2 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.11-py3-none-any.whl
Algorithm Hash digest
SHA256 19f20a88a5c25711518a2b620c733594fb699c60903d0eb938991c8a1e8d0642
MD5 3058d44a03bffda2b8f67d5d4e5b84bb
BLAKE2b-256 84d9552c4458ee8a430ac79f32e50edd521886a637bb1719b4870d2fb4376c9b

See more details on using hashes here.

Supported by

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