Skip to main content

Packaged JDK for Python

Project description

jdk4py

A packaged JDK for Python.

PyPI version

Install

Java is made easy to install as a single Python package:

pip install jdk4py

or as a Conda package:

conda config --add channels https://conda.atoti.io
conda install jdk4py

Usage

>>> from jdk4py import JAVA, JAVA_HOME, JAVA_VERSION
>>> JAVA_HOME
PosixPath('/Users/johndoe/dev/jdk4py/jdk4py/java-runtime')
>>> JAVA
PosixPath('/Users/johndoe/dev/jdk4py/jdk4py/java-runtime/bin/java')
>>> JAVA_VERSION
(11, 0, 10)
>>> from subprocess import check_output
>>> some_java_options = ["-Xmx16G", "-Xms2G"]
>>> check_output([str(JAVA), "-jar", "HelloWorld.jar",  *some_java_options])
b"Hello, World!"

Versioning

jdk4py version contains 4 figures:

  • The first 3 figures are the Java version.
  • The fourth is jdk4py specific: it starts at 0 for each Java version and then increases.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

jdk4py-11.0.13.1-1-py3-none-win_amd64.whl (35.8 MB view details)

Uploaded Python 3Windows x86-64

jdk4py-11.0.13.1-1-py3-none-manylinux1_x86_64.whl (36.8 MB view details)

Uploaded Python 3

jdk4py-11.0.13.1-1-py3-none-macosx_10_9_x86_64.whl (32.5 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

jdk4py-11.0.13.1-0-py3-none-win_amd64.whl (34.7 MB view details)

Uploaded Python 3Windows x86-64

jdk4py-11.0.13.1-0-py3-none-manylinux1_x86_64.whl (35.7 MB view details)

Uploaded Python 3

jdk4py-11.0.13.1-0-py3-none-macosx_10_9_x86_64.whl (31.5 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file jdk4py-11.0.13.1-1-py3-none-win_amd64.whl.

File metadata

  • Download URL: jdk4py-11.0.13.1-1-py3-none-win_amd64.whl
  • Upload date:
  • Size: 35.8 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for jdk4py-11.0.13.1-1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 27babb9eb45d81eee73145dd79ab7abeb86e86cc2f8820ecb397b6aa034b62f5
MD5 12764b7d64caf6261182d1d0e113266b
BLAKE2b-256 5e571574a8e43f85219350e137f682983a4c68910b30c0b214289baf93ded61e

See more details on using hashes here.

File details

Details for the file jdk4py-11.0.13.1-1-py3-none-manylinux1_x86_64.whl.

File metadata

  • Download URL: jdk4py-11.0.13.1-1-py3-none-manylinux1_x86_64.whl
  • Upload date:
  • Size: 36.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

File hashes

Hashes for jdk4py-11.0.13.1-1-py3-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 5ae9d31cf694099790ae231a639255f31fefbd60b42ec66fe662eabad21a3f4f
MD5 65bc17ea695025f76f008d8c3ec82b7b
BLAKE2b-256 9a64358267a35c1e6b03de78df39cabf941a4a6f3e56ef0657d79b9670231d40

See more details on using hashes here.

File details

Details for the file jdk4py-11.0.13.1-1-py3-none-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: jdk4py-11.0.13.1-1-py3-none-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 32.5 MB
  • Tags: Python 3, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

File hashes

Hashes for jdk4py-11.0.13.1-1-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 06389882c079751be902fdcd47759b5ee3b3d91d2710432a698444312796922b
MD5 c88631ba087b20151ccdf8d04a6c4f9c
BLAKE2b-256 ffe52a07d251011a1545d78ce97f44226ed215ce00a549d7c41d0c53c4d89c37

See more details on using hashes here.

File details

Details for the file jdk4py-11.0.13.1-0-py3-none-win_amd64.whl.

File metadata

  • Download URL: jdk4py-11.0.13.1-0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 34.7 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for jdk4py-11.0.13.1-0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 f64f85d4124fc039f879b537a3be7168ce8c29f30ef74dc21e02b87ad91e95b2
MD5 c2c967c38368758df668a977de601dc1
BLAKE2b-256 df864a29e5f39f19a21f98593a52556894d838e6e217c625445c5c4ba2b07a9b

See more details on using hashes here.

File details

Details for the file jdk4py-11.0.13.1-0-py3-none-manylinux1_x86_64.whl.

File metadata

  • Download URL: jdk4py-11.0.13.1-0-py3-none-manylinux1_x86_64.whl
  • Upload date:
  • Size: 35.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for jdk4py-11.0.13.1-0-py3-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 25fcbebbe54dfe36ab9e406f5dc560d50931f751fc6032c5ecd1fa44a24f2036
MD5 91bea762fd48878a25840259ccc2d85d
BLAKE2b-256 bd913fe29f169243e20c2a96b3faf43908da23494f26ad35451ba0424d5f8dbf

See more details on using hashes here.

File details

Details for the file jdk4py-11.0.13.1-0-py3-none-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: jdk4py-11.0.13.1-0-py3-none-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 31.5 MB
  • Tags: Python 3, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for jdk4py-11.0.13.1-0-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 677259f8b3596cdfcfedc80df47b74ed33f22e319ee27c7db64d975fb1bfbf69
MD5 405c24e14954ecd5c671f24c47a07ccd
BLAKE2b-256 76e51251eb3c2b2cd0b1be7f4e126474bab0ee3c24a9eea4fe15865a4add2873

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