{"id":13446055,"url":"https://github.com/jython/jython","last_synced_at":"2025-05-14T06:13:07.329Z","repository":{"id":37264903,"uuid":"282480317","full_name":"jython/jython","owner":"jython","description":" Python for the Java Platform","archived":false,"fork":false,"pushed_at":"2025-05-04T16:52:25.000Z","size":371911,"stargazers_count":1372,"open_issues_count":93,"forks_count":210,"subscribers_count":47,"default_branch":"master","last_synced_at":"2025-05-04T17:39:08.706Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.jython.org","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jython.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-25T16:17:43.000Z","updated_at":"2025-05-04T16:52:41.000Z","dependencies_parsed_at":"2023-02-06T16:46:43.994Z","dependency_job_id":"c009eb3e-2df5-4263-9f65-0563d7afa448","html_url":"https://github.com/jython/jython","commit_stats":null,"previous_names":[],"tags_count":82,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jython%2Fjython","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jython%2Fjython/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jython%2Fjython/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jython%2Fjython/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jython","download_url":"https://codeload.github.com/jython/jython/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254081147,"owners_count":22011561,"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":[],"created_at":"2024-07-31T05:00:44.499Z","updated_at":"2025-05-14T06:13:07.311Z","avatar_url":"https://github.com/jython.png","language":"Python","funding_links":[],"categories":["Mainstream implementations","Python","JVM语言"],"sub_categories":[],"readme":"# Jython: Python for the Java Platform\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.python/jython-standalone/badge.svg)](https://search.maven.org/artifact/org.python/jython-standalone/)\n[![Javadocs](https://www.javadoc.io/badge/org.python/jython-standalone.svg)](https://www.javadoc.io/doc/org.python/jython-standalone)\n[![APIdia](https://apidia.net/java/Jython/badge.svg)](https://apidia.net/java/Jython)\n\nThis is the development repository of Jython,\nthe implementation of Python in Java.\nOnly version 2.7 of Python can be supported at present\n(but watch this space for a 3.x version).\n\n## Compatibility\n\nJython provides good compatibility with Python 2.7 *the language*.\nAlso, a high proportion of the standard library is included,\ntaken from late versions of CPython (around 2.7.13).\nSome standard library modules have a Jython-specific implementation\nthat has not kept pace with its CPython counterpart.\n\nJython 2.7 support for the Python ecosystem\nincludes built-in support of *pip/setuptools*.\nYou can use `bin/pip` if the targets do not include `C` extensions.\nThere is a native launcher for Windows (`bin/jython.exe`)\nthat works essentially like the `python` command.\n\nJim Baker presented a talk at PyCon 2015 about Jython 2.7,\nincluding demos of new features: https://www.youtube.com/watch?v=hLm3garVQFo\n\n## Support\n\nPython 2.7 (the language) is no longer supported by the PSF.\nRunning on Jython should not be considered an alternative to porting your\napplication to Python 3, due to the limitations cited here\nand the small amount of effort available to support 2.7.x.\nJython 2.7 is offered for continuity because a 3.x is not yet available.\n\nSee [ACKNOWLEDGMENTS](ACKNOWLEDGMENTS) for details about Jython's copyright,\nlicense, contributors, and mailing lists.\nConsult [NEWS](NEWS) for detailed release notes, including bugs fixed,\nbackward breaking changes, and new features.\nWe sincerely thank all who contribute to Jython, by bug reports, patches,\npull requests, documentation changes and e-mail discussions.\n\n## Downloads\n\nBinary downloads are available from https://www.jython.org/download\nalong with Maven and Gradle dependency information.\n\n## How to build Jython\n\nThe project uses Git for version-control,\nand the master repository is at https://github.com/jython/jython,\nYou should clone this repository to create a buildable copy of the latest state\nof the Jython source.\nStart a new branch for any bug-fix or experimentation you plan.\n\nThe previously authoritative repository at https://hg.python.org/jython is not now in use,\nremaining frozen at v2.7.2.\n\n### Build using `ant` for development\n\nJython is normally built using `ant`.\nIt is necessary to have Ant and at least a Java 8 SDK on the path.\nTo build Jython in development, we generally use the command:\n```\nant\n```\nThis leaves an executable in `dist/bin`\nthat you may run from the check-out root with:\n```\ndist/bin/jython\n```\nOther `ant` targets exist, notably `clean`, `javatest` and `jar`.\n\nYou can test your build of Jython (by running the regression tests),\nwith the command:\n```\ndist/bin/jython -m test.regrtest -e -m regrtest_memo.txt\n```\nor by invoking the Ant target `regrtest`.\n\n### Build an installer using `ant`\n\nIf you want to install a snapshot build of Jython, use the command:\n```\nant installer\n```\nThis will leave you with a snapshot installer JAR in `dist`,\nthat you can run with:\n```\njava -jar jython-installer.jar\n```\nfor the graphical installer, or:\n```\njava -jar jython-installer.jar --console\n```\nFor the console version. (A `--help` option gives you the full story.)\n\n### Build a JAR using Gradle\n\nWe have a Gradle build that results in a family of JARs and a POM.\nThis is intended to provide the Jython core in a form that Gradle and Maven\nusers can consume as a dependency.\nInvoke this with:\n```\nPS\u003e .\\gradlew publish\n```\nand a JAR and POM are delivered to ` .build2\\repo` \n\nWhereas the JARs delivered by the installer are somewhat \"fat\",\nembedding certain dependencies in shaded (renamed) form,\nthe JAR from the Gradle build is \"spare\"\nand cites its dependencies externally through a POM.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjython%2Fjython","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjython%2Fjython","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjython%2Fjython/lists"}