r/smalltalk • u/diogenic • 16d ago
PyBrowser - A Smalltalk-style Class Browser for Python
https://github.com/areichow/pybrowser
I hope this is OK to post here - I felt like fellow Smalltalk heads who also work in Python would appreciate it.
PyBrowser is a code browser inspired and based on the classic Smalltalk Class Browser, with dreams of becoming a more complete dynamic Smalltalk-like development environment, with the ability to pull up Smalltalk-style Inpsectors and Debugger.
At this stage of development, it's somewhere between a toy and a tool. I haven't used it for developing on large codebases, but I have used it for some small apps with a handful of files. I've used it to browse and understand existing Python codebases like Django.
There are Class Browser elements of many Python IDEs, but I've never found one that really captured the look, feel, and clarity of the Smalltalk Class Browser, let along enabled the kind of interactive development that Smalltalk is known for. Historically, the recommendation has been to use the Emacs Class Browser (ecb) or oo-browser. I'm not an experienced Emacs user and haven't been able to get either to run.
If you give it a whack - let me know what you think!
10
u/ShacoinaBox 16d ago
kind-of a badass idea, i think ive seen one of these before? but anything that makes python usable gets a thumbs up from me.
3
u/wyldcraft 16d ago
Squeak Python when?
1
u/sohang-3112 16d ago
Looks interesting, will try out. You should add such a screenshot image to your repo README also.
3
u/Unfamiliar_Notation 15d ago
Maybe you could integrate it with TruffleSqueak: https://www.youtube.com/watch?v=MVblV_ruG28
https://github.com/hpi-swa/trufflesqueak
1
u/masukomi 16d ago
cool!