{"id":15045957,"url":"https://github.com/activeviam/jdk4py","last_synced_at":"2025-04-09T13:08:04.711Z","repository":{"id":38819067,"uuid":"247670934","full_name":"activeviam/jdk4py","owner":"activeviam","description":"A JDK shipped in a Python package","archived":false,"fork":false,"pushed_at":"2025-01-13T16:14:08.000Z","size":178,"stargazers_count":20,"open_issues_count":3,"forks_count":6,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-02T11:55:05.956Z","etag":null,"topics":["java","jdk","jre","jvm","python-library","runtime"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/activeviam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-16T10:16:33.000Z","updated_at":"2025-03-22T03:11:29.000Z","dependencies_parsed_at":"2023-02-18T06:01:05.242Z","dependency_job_id":"d9344ceb-8c1a-40da-a404-e5316c021dc1","html_url":"https://github.com/activeviam/jdk4py","commit_stats":{"total_commits":53,"total_committers":5,"mean_commits":10.6,"dds":0.5283018867924528,"last_synced_commit":"a778a806254b79c97e3097dd29a836ada897f3f8"},"previous_names":["activeviam/jdk4py","atoti/jdk4py"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/activeviam%2Fjdk4py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/activeviam%2Fjdk4py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/activeviam%2Fjdk4py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/activeviam%2Fjdk4py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/activeviam","download_url":"https://codeload.github.com/activeviam/jdk4py/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248045233,"owners_count":21038553,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","jdk","jre","jvm","python-library","runtime"],"created_at":"2024-09-24T20:52:31.143Z","updated_at":"2025-04-09T13:08:04.690Z","avatar_url":"https://github.com/activeviam.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 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\u003e\u003e\u003e from jdk4py import JAVA, JAVA_HOME, JAVA_VERSION\n\u003e\u003e\u003e JAVA_HOME\nPosixPath('/Users/johndoe/dev/jdk4py/jdk4py/java-runtime')\n\u003e\u003e\u003e JAVA\nPosixPath('/Users/johndoe/dev/jdk4py/jdk4py/java-runtime/bin/java')\n\u003e\u003e\u003e JAVA_VERSION\n(21, 0, 4)\n\u003e\u003e\u003e from subprocess import run\n\u003e\u003e\u003e some_java_options = [\"-Xmx16G\", \"-Xms2G\"]\n\u003e\u003e\u003e run(\n...     [JAVA, \"-jar\", \"HelloWorld.jar\", *some_java_options],\n...     capture_output=True,\n...     check=True,\n...     text=True,\n... ).stdout.strip()\n\"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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factiveviam%2Fjdk4py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Factiveviam%2Fjdk4py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factiveviam%2Fjdk4py/lists"}