Skip to main content

Java parser

Project description

Java parser for Python

Getting around

  • project\package - main module path

  • project\tests - tests module path

  • pyproject.toml - project metadata, with instructions for packaging

    See: https://hatch.pypa.io/latest/config/metadata/

  • requirements.txt - package requirements to use the module

  • requirements-to-build.txt - package requirements to build / package the module

Files and javaload.py and javastream.py are scripts to test a Java file quickly on whether it is loadable and streamable*, respectively.

*To "stream" (-parse) a Java file is to handle shallow declarations and statements, only - not to load the file into an element tree. In fact, by implementation, it is a step that preceedes loading proper.

Build and install

Required:

  • Python packages specified in requirements-to-build.txt, pip-installable via the following command.

    python -m pip install -r requirements-to-build.txt
    

To build / pack up, run the following command at the top directory.

python -m build

A .whl is generated at directory dist which can then be pip-installed like so.

python -m pip install dist\...whl

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

jl95terceira_java-0.2.2.tar.gz (23.5 kB view details)

Uploaded Source

Built Distribution

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

jl95terceira_java-0.2.2-py3-none-any.whl (34.3 kB view details)

Uploaded Python 3

File details

Details for the file jl95terceira_java-0.2.2.tar.gz.

File metadata

  • Download URL: jl95terceira_java-0.2.2.tar.gz
  • Upload date:
  • Size: 23.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for jl95terceira_java-0.2.2.tar.gz
Algorithm Hash digest
SHA256 7b039167d1b6e0207c1372dca7275d34eb82473722a9a5757dc715fecccaed5d
MD5 5c7c8ad27be7898a4845427f3a20c8b1
BLAKE2b-256 8c4daf3151fb3f49ad1ad1d2ef51fd6011eb609635bbc5f4a126129b6b7a6ef0

See more details on using hashes here.

File details

Details for the file jl95terceira_java-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for jl95terceira_java-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bbff33fec01437d7de2505584c30dfa480e720075dc6b6104c3fb4395bd1377b
MD5 50cc5fe6dd58f87ca3a3e88c130e8824
BLAKE2b-256 50cb55cbc7cf70ab962915836df5601bb1cd5d4f8464fe06f8e5a38d0ac8a91c

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