#jython — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #jython, aggregated by home.social.
-
So... today I discovered #Jython. And I found out you can make applets with it.
:thonk: 🐍
-
You don't need to leave #Java behind to gain modern language features. #Kotlin #Scala #Groovy, & others run on the same reliable #JVM & open new dev possibilities.
🛠 Choose the right tool for the job with Mihaela Gheorghe-Roman: https://javapro.io/2025/10/09/the-rise-of-jvm-languages-kotlin-scala-groovy-and-more/
#Jython @IntelliJScala
-
Which JVM language fits your stack? #Kotlin for Android, #Scala for Spark, #Groovy for testing, #Clojure for concurrency, #JRuby & #Jython for scripts. Each solves different dev pains—fully JVM-compatible.
Mihaela Gheorghe-Roman shows the big picture: https://javapro.io/2025/10/09/the-rise-of-jvm-languages-kotlin-scala-groovy-and-more/
-
Still writing Java 8 code? You may be missing out. Modern JVM languages bring you:
✔ Null-safety, Functional programming, Concise DSLs, Faster onboarding
Mihaela Gheorghe-Roman maps the evolving #JVM landscape: https://javapro.io/2025/10/09/the-rise-of-jvm-languages-kotlin-scala-groovy-and-more/
-
#Java’s birthday isn’t just a look back—it’s proof the #JVM powers far more than Java today. From Clojure to JRuby, JVM languages boost concurrency, syntax & prototyping. Find your favorite with Mihaela Gheorghe-Roman: https://javapro.io/2025/10/09/the-rise-of-jvm-languages-kotlin-scala-groovy-and-more/
#Kotlin #Scala #Jython @IntelliJScala -
Thanks to Werner Fouché's initiative, there is now a @jbangdev catalog for Jython!
As a result, running Jython scripts becomes even easier:jbang run jython-cli@jython <jython-script>.py
or after install: jython-cli <jython-script>.py
-
Ein lang ersehnter Wunsch von mir: Eigene #Clustering Methoden in #OpenRefine benutzen.
Verfügbar seit Version 3.9.0 und funktioniert seit 3.9.3 auch mit #Jython und #Clojure.
Hier eine Anleitung zur Benutzung im #FDMLab Blog.
https://fdmlab.landesarchiv-bw.de/workshop/openrefine-fortgeschrittene/19-erweitertes-clustering/
-
We're excited to share that there has been an effort by Werner Fouché to integrate Jython with JBang. Please checkout his Medium article to learn how you can run Jython scripts on JBang easily! https://medium.com/@werner.fouche/running-jython-scripts-with-jbang-using-a-java-helper-program-9ab9f8e35ddc #jython #jbang @jbangdev
-
Imagine:
- small custom tool in #Python2 / #Jython, bundled to an .exe
- Last time bundled was a few years back
- executable used on CI serverThen:
- suddenly all builds across the Server fail 😳
- The CI server and your own PC fail executing your small tool, saying "This application needs #Java 8" 🤔
- But your CI Server and own PC _have_ Java 8 installed 🤨
- The fellas around you have seemingly the same tools installed and can execute the tool 🧐 -
Imagine:
- small custom tool in #Python2 / #Jython, bundled to an .exe
- Last time bundled was a few years back
- executable used on CI serverThen:
- suddenly all builds across the Server fail 😳
- The CI server and your own PC fail executing your small tool, saying "This application needs #Java 8" 🤔
- But your CI Server and own PC _have_ Java 8 installed 🤨
- The fellas around you have seemingly the same tools installed and can execute the tool 🧐 -
Imagine:
- small custom tool in #Python2 / #Jython, bundled to an .exe
- Last time bundled was a few years back
- executable used on CI serverThen:
- suddenly all builds across the Server fail 😳
- The CI server and your own PC fail executing your small tool, saying "This application needs #Java 8" 🤔
- But your CI Server and own PC _have_ Java 8 installed 🤨
- The fellas around you have seemingly the same tools installed and can execute the tool 🧐 -
Imagine:
- small custom tool in #Python2 / #Jython, bundled to an .exe
- Last time bundled was a few years back
- executable used on CI serverThen:
- suddenly all builds across the Server fail 😳
- The CI server and your own PC fail executing your small tool, saying "This application needs #Java 8" 🤔
- But your CI Server and own PC _have_ Java 8 installed 🤨
- The fellas around you have seemingly the same tools installed and can execute the tool 🧐 -
Imagine:
- small custom tool in #Python2 / #Jython, bundled to an .exe
- Last time bundled was a few years back
- executable used on CI serverThen:
- suddenly all builds across the Server fail 😳
- The CI server and your own PC fail executing your small tool, saying "This application needs #Java 8" 🤔
- But your CI Server and own PC _have_ Java 8 installed 🤨
- The fellas around you have seemingly the same tools installed and can execute the tool 🧐 -
"Type annotations are unsupperted in Python 2"
😒😒Will man Jython überhaupt noch verwenden? 🤐
-
Some questions regarding Ghidra:
* NetworkX libraries don't support Jython, right?
* Which Python 3.X bridge is the most used for Ghidra? Is it Ghidrathon? Or perhaps ghidra-bridge?
* Do you happen to know if there are differences big enough to worry about supporting Ghidrathon or Ghidra Bridge?#Ghidra #NetworkX #Jython #Ghidrathon #GhidraBridge
#Python3 #Python2 -
True as always that the way to make software run faster is to make it do less operations. After all, CPUs can only execute a fixed number of operations per unit of time.
Here, I tweaked code for serial section registration that drops execution time from 27 seconds to 100 milliseconds: a 270x speed up.
All it had to do is to search for matching SIFT features in one image only within a predetermined radius centered on one SIFT feature in another image. Extremely effective for when e.g., the maximum translation is known.
The matching code using a KDTree:
https://github.com/acardona/scripts/blob/master/java/asm/my/PointMatchesFast.java#L56The test script:
https://github.com/acardona/scripts/blob/dev/python/imagej/FIBSEM/tests/test_matchNearbyFeatures.py -
Here is an old-school image processing tutorial for #FijiSc in #jython 2.7 (python for java):
https://syn.mrc-lmb.cam.ac.uk/acardona/fiji-tutorial/
Enjoy!
-
@thecesrom Jythooooooooon! In my best Kirk voice.
:java: and :python: together is a great idea, but not having the Python 3 `main` branch working, and having no clear progress makes it feel like Perl 6 all over again.
They should rename their moribund Jython3 repo, that's just confusing!
It's such a shame, useful Java scripting interfaces languishing in a dying ecosystem.
There was a similar lag with things that embed CPython, but they have an escape route.
-
@shmarkus @java_discussions there is also #py4j which is quite successful, for instance it powers the popular #pyspark. And #GraalPython which could hopefully provide a sort of replacement for #jython on the long run, although the authors do not aim for that
-
Every time I need to run an image processing task, the open source software #FijiSc delivers.
The javadocs are up to date https://javadoc.scijava.org/ , the libraries just work – particularly #ImgLib2 https://imagej.net/libs/imglib2/
And the examples of my own tutorial https://syn.mrc-lmb.cam.ac.uk/acardona/fiji-tutorial/ written in python 2.7 for the #JVM (#jython), despite some being a decade old, they all just work. Grateful every day for the outstanding backwards compatibility plus the new plugins and libraries that continue to grow https://fiji.sc
Many thanks to the many, many developers and maintainers, particularly Curtis Rueden, who is presently cutting out a new release: 2.11.0 https://forum.image.sc/t/plugin-maintainers-can-you-test-fiji-2-11-0/78852/18
-
Mh...in nem Jython Projekt, in dem im Python Code imports aus ner Java-Bibliothek stattfinden.....wie bring ich meinem IntelliJ bei, dass es die auflöst und nicht als fehlerhafte Imports anzeigt? 🧐
-
@daieuxetdailleurs @Ettore_Rizza ah c'est intéressant que ça marche avec 3.6.2 et pas 3.7.2… peut-être qu'une mise à jour de #Jython a cassé quelque-chose ? Mais sinon pourquoi ne pas le faire via le service de réconciliation plutôt ? (en réconciliant les Qids, puis ajouter une colonne à partir des valeurs réconciliées, et utiliser la propriété "Sfrwiki" pour obtenir les titres dans fr.wiki)
-
-
The underlying source code is here, if you want to try registering pairs of images with a non-linear transformation such as a thin-plate spline, on the basis of blockmatching features:
-
Rough timeline of my programming language use:
1. #Basic - 1978
2. #Matlab - 1995-present
3. #Java - 1997-present
4. #C - 1999-2016
5. #Python - 2002-present
6. #Jython - 2002-2003
7. #Groovy - 2003-2010
8. #Objective-C - 2003-2006
9. #Scala - 2010-present
10. #JavaScript - 2020-present
11. #TypeScript - 2021-present -
@hynek Same here—my best online posts are notes to future self, for e.g., image processing code snippets I don’t want to relearn. Here, some in #jython driving #FijiSc’s #java libraries to register images, transform N-dimensional images, visualise them in 2d/3d/4d, make GUIs, and more: https://syn.mrc-lmb.cam.ac.uk/acardona/fiji-tutorial I hear many found these useful.
-
@felwert @stefan_hessbrueggen @digitalhumanities for what it's worth I assume file access should be possible in #Jython (if you mean explicitly opening a file within the Python script and doing things with it). I am not claiming it is right that we allow that, nor that it makes OR the right tool for your job!
-
I've been messing around with GUIs and #jython in #CityEngine. Frankly struggling a bit (my method is cut and paste and test), however the playing around is paying off and I can make some really nice tools that don't require a command line or code knowledge to operate.
-
Fun fact #CityEngine allows for #python scripting to extend functionality... except it's actually #Jython (basically python in #java) which means that I am at least twice as confused at all times when programming!
-
Speziell für Jython-Programmierer: Python-Bücher für umme lesen
Jython und auch die Jython-Ableger TigerJython und Processing.py basieren ja immer noch auf Python 2.7 und das wird sich auch auf absebare Zeit nicht ändern. Und auch wenn es mittlerweile möglich ist, Code zu schreiben, der bis auf wenige Änderungen sowohl mit Python 2.7 wie auch mit Python 3 ausführbar ist, kommt man um einige Grundlagen nicht herum. http://blog.schockwellenreiter.de/2022/10/2022100201.html #Jython #Python #TigerJython #ProcessingPy #FreeEbooks
-
@thecesrom Jythooooooooon! In my best Kirk voice.
:java: and :python: together is a great idea, but not having the Python 3 `main` branch working, and having no clear progress makes it feel like Perl 6 all over again.
They should rename their moribund Jython3 repo, that's just confusing!
It's such a shame, useful Java scripting interfaces languishing in a dying ecosystem.
There was a similar lag with things that embed CPython, but they have an escape route.
-
@thecesrom Jythooooooooon! In my best Kirk voice.
:java: and :python: together is a great idea, but not having the Python 3 `main` branch working, and having no clear progress makes it feel like Perl 6 all over again.
They should rename their moribund Jython3 repo, that's just confusing!
It's such a shame, useful Java scripting interfaces languishing in a dying ecosystem.
There was a similar lag with things that embed CPython, but they have an escape route.
-
@thecesrom Jythooooooooon! In my best Kirk voice.
:java: and :python: together is a great idea, but not having the Python 3 `main` branch working, and having no clear progress makes it feel like Perl 6 all over again.
They should rename their moribund Jython3 repo, that's just confusing!
It's such a shame, useful Java scripting interfaces languishing in a dying ecosystem.
There was a similar lag with things that embed CPython, but they have an escape route.
-
@thecesrom Jythooooooooon! In my best Kirk voice.
:java: and :python: together is a great idea, but not having the Python 3 `main` branch working, and having no clear progress makes it feel like Perl 6 all over again.
They should rename their moribund Jython3 repo, that's just confusing!
It's such a shame, useful Java scripting interfaces languishing in a dying ecosystem.
There was a similar lag with things that embed CPython, but they have an escape route.