jdk4py


Namejdk4py JSON
Version 21.0.4.1 PyPI version JSON
download
home_pageNone
SummaryA JDK shipped in a Python package
upload_time2024-09-05 23:01:13
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseNone
keywords java jdk jre jvm
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # jdk4py

A JDK shipped in a Python package.

[![PyPI version](https://badge.fury.io/py/jdk4py.svg)](https://badge.fury.io/py/jdk4py)

## Install

```bash
pip install jdk4py
```

or as a Conda package:

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

## Usage

```python
>>> 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
(21, 0, 4)
>>> from subprocess import check_output
>>> some_java_options = ["-Xmx16G", "-Xms2G"]
>>> check_output([JAVA, "-jar", "HelloWorld.jar",  *some_java_options])
b"Hello, World!"
```

## Versioning

`jdk4py`'s version contains 4 numbers:

- The first 3 numbers correspond to the JDK version.
- The fourth number is the library API version.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "jdk4py",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "java, jdk, jre, jvm",
    "author": null,
    "author_email": "ActiveViam <dev@atoti.io>",
    "download_url": null,
    "platform": null,
    "description": "# jdk4py\n\nA JDK shipped in a Python package.\n\n[![PyPI version](https://badge.fury.io/py/jdk4py.svg)](https://badge.fury.io/py/jdk4py)\n\n## Install\n\n```bash\npip install jdk4py\n```\n\nor as a Conda package:\n\n```bash\nconda config --add channels https://conda.atoti.io\nconda install jdk4py\n```\n\n## Usage\n\n```python\n>>> from jdk4py import JAVA, JAVA_HOME, JAVA_VERSION\n>>> JAVA_HOME\nPosixPath('/Users/johndoe/dev/jdk4py/jdk4py/java-runtime')\n>>> JAVA\nPosixPath('/Users/johndoe/dev/jdk4py/jdk4py/java-runtime/bin/java')\n>>> JAVA_VERSION\n(21, 0, 4)\n>>> from subprocess import check_output\n>>> some_java_options = [\"-Xmx16G\", \"-Xms2G\"]\n>>> check_output([JAVA, \"-jar\", \"HelloWorld.jar\",  *some_java_options])\nb\"Hello, World!\"\n```\n\n## Versioning\n\n`jdk4py`'s version contains 4 numbers:\n\n- The first 3 numbers correspond to the JDK version.\n- The fourth number is the library API version.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A JDK shipped in a Python package",
    "version": "21.0.4.1",
    "project_urls": {
        "Repository": "https://github.com/activeviam/jdk4py"
    },
    "split_keywords": [
        "java",
        " jdk",
        " jre",
        " jvm"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8ca9a006ca3b5839fc095a9cfa6b0dae4dafd42b358f897c5054ea286187a823",
                "md5": "df988c688297d8e1d65417c81574eb9a",
                "sha256": "786888fe44811ddf8788bf6e454119e4b5d820a167e3ec9fa2098f4e07d5420f"
            },
            "downloads": -1,
            "filename": "jdk4py-21.0.4.1-py3-none-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "df988c688297d8e1d65417c81574eb9a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 31084646,
            "upload_time": "2024-09-05T23:01:13",
            "upload_time_iso_8601": "2024-09-05T23:01:13.363498Z",
            "url": "https://files.pythonhosted.org/packages/8c/a9/a006ca3b5839fc095a9cfa6b0dae4dafd42b358f897c5054ea286187a823/jdk4py-21.0.4.1-py3-none-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "53b57c809f68ada3a1a5a859528c3f5e1dc7044145c9d6a50bb5fe6b5fb271c4",
                "md5": "eecd1b3c855d508ffeeddc982a3c171b",
                "sha256": "0efda61573596c05c53554dc7ca73748b3ba17f4817519f0a1e14e6c92e75be0"
            },
            "downloads": -1,
            "filename": "jdk4py-21.0.4.1-py3-none-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "eecd1b3c855d508ffeeddc982a3c171b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 29849244,
            "upload_time": "2024-09-05T23:01:16",
            "upload_time_iso_8601": "2024-09-05T23:01:16.736442Z",
            "url": "https://files.pythonhosted.org/packages/53/b5/7c809f68ada3a1a5a859528c3f5e1dc7044145c9d6a50bb5fe6b5fb271c4/jdk4py-21.0.4.1-py3-none-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9bc056d384441a4ead0f96d0dfd731c151643c69f1ab5242f140c2a88d3cfb4f",
                "md5": "6a6f35004aaa2bf695795898a6e73bbb",
                "sha256": "7d6dc78001a7a1852b2da2be4702468419675bf58122d55928ee000990a46b56"
            },
            "downloads": -1,
            "filename": "jdk4py-21.0.4.1-py3-none-manylinux_2_17_aarch64.whl",
            "has_sig": false,
            "md5_digest": "6a6f35004aaa2bf695795898a6e73bbb",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 33274522,
            "upload_time": "2024-09-05T23:01:20",
            "upload_time_iso_8601": "2024-09-05T23:01:20.537101Z",
            "url": "https://files.pythonhosted.org/packages/9b/c0/56d384441a4ead0f96d0dfd731c151643c69f1ab5242f140c2a88d3cfb4f/jdk4py-21.0.4.1-py3-none-manylinux_2_17_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0a64130e4a1f65ebbbd33f01e46eb13eadb4642ea6c4e38ae82b19d8eed955ea",
                "md5": "099bd33c1fb287b8ddfbccb12b95c59c",
                "sha256": "0604994e2baf94eeb4a788dafadaa1c8593aa474d3e4d7e7f1dd69c3524908f7"
            },
            "downloads": -1,
            "filename": "jdk4py-21.0.4.1-py3-none-manylinux_2_17_x86_64.whl",
            "has_sig": false,
            "md5_digest": "099bd33c1fb287b8ddfbccb12b95c59c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 33915206,
            "upload_time": "2024-09-05T23:01:24",
            "upload_time_iso_8601": "2024-09-05T23:01:24.550376Z",
            "url": "https://files.pythonhosted.org/packages/0a/64/130e4a1f65ebbbd33f01e46eb13eadb4642ea6c4e38ae82b19d8eed955ea/jdk4py-21.0.4.1-py3-none-manylinux_2_17_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7a78e3f43b290641ac3fc3849b7935d966e764e609c7f99f0fafd76e73cb2dee",
                "md5": "8f3534e56dfcaecae8e3e8af0a6d6f30",
                "sha256": "b81d689623f24a9241f50258d0994f7e9c8630c892ae0d5f5fe8b91ac8349845"
            },
            "downloads": -1,
            "filename": "jdk4py-21.0.4.1-py3-none-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "8f3534e56dfcaecae8e3e8af0a6d6f30",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 29834761,
            "upload_time": "2024-09-05T23:01:28",
            "upload_time_iso_8601": "2024-09-05T23:01:28.223007Z",
            "url": "https://files.pythonhosted.org/packages/7a/78/e3f43b290641ac3fc3849b7935d966e764e609c7f99f0fafd76e73cb2dee/jdk4py-21.0.4.1-py3-none-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-05 23:01:13",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "activeviam",
    "github_project": "jdk4py",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "jdk4py"
}
        
Elapsed time: 0.56002s