Transpiles Java source code into Python source code
Project description
JavaToPythonTranspiler
Transpiles Java source code into Python source code
Installation
pip install java-to-python-transpiler
Functions
java_to_python_from_string
java_to_python_from_string(user_input: str) -> str | TranspilerFailure
This is the primary function provided by this library.
Takes in a user_input
and transpiles it into Python source code. It will return
a String if successful. Otherwise, it will return a TranspilerFailure
Data
TranspilerFailure
This class represents a failure that occurred in the Transpiler.
error_message: str
-> a String that provides informaion about the error that
occurred
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file java_to_python_transpiler-0.1.8.tar.gz
.
File metadata
- Download URL: java_to_python_transpiler-0.1.8.tar.gz
- Upload date:
- Size: 29.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.5.6-76060506-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6e5794fc49a89daf98cfd915d0821482ec2c1df7b9e17b277984fe49ab10cd7 |
|
MD5 | e30c8d06ad2c081859991bd1899ede05 |
|
BLAKE2b-256 | cf0611b80cb21d25a81ad5555830426c4aa9f6de1bc84528d8905ebd58e64d0d |
File details
Details for the file java_to_python_transpiler-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: java_to_python_transpiler-0.1.8-py3-none-any.whl
- Upload date:
- Size: 31.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.5.6-76060506-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65611fc4f1697cd4b3c91a190d9ff0cf6d6ec489d21e3033958c92f5b08f56c9 |
|
MD5 | 31ab142c88da5d0319c79fbea8a99f4b |
|
BLAKE2b-256 | fe01f7296fc6fa5df9a4c63a885fa9a961757bdfb4096e2af89b3c745cc32076 |