Show HN: Scripton – Python IDE with built-in realtime visualizations (opens in a new tab)scripton.dev
449 pointsWhy another Python IDE? Scripton hopes to fill a gap in the Python development ecosystem by being an IDE that:
1. Focuses on easy, fast, and interactive visualizations (and exposes rich JS plotting libraries like Observable Plot and Plotly directly to Python)
2. Provides a tightly integrated REPL for rapid prototyping and exploration
3. Is script-centric (as opposed to, say, notebook-style)
A historical detour for why these 3 features: Not so long ago (ok, well, maybe over a decade ago...), the go-to environment for many researchers in scientific fields would have been something like MATLAB. Generating multiple simultaneous visualizations (potentially dynamic) directly from your scripts, rapidly prototyping in the REPL, all without giving up on writing regular scripts. Over time, many switched over to Python but there wasn't an equivalent environment offering similar capabilities. IPython/Jupyter notebooks eventually became the de facto replacement. And while notebooks are great for many things (indeed, it wasn't uncommon for folks to switch between MATLAB and Mathematica Notebooks), they do make certain trade-offs that prevent them from being a full substitute.
Inner workings:
- Implemented in C++ (IDE <-> Python IPC), Python, TypeScript (UI), WGSL (WebGPU-based visualizations)
- While the editor component is based off Monaco, the IDE is not a vscode fork and was written from scratch. Happy to chat about the trade-offs if anyone's interested
- Uses a custom Python debugger written from scratch (which enables features like visualizing intermediate outputs while paused in the debugger)
Scripton's under active development (currently only available for macOS but Linux and Windows support is planned). Would love for you to try it out and share your thoughts! Since this is HN, I’m also happy to chat about its internals.
Comments (139) 52 threads
Show all comments
Showing thread 41 of 52
I've used the language for all sorts of things: web apps, web APIs, GUI tools, image manipulation, data processing and visualization, some data science, machine learning more recently.
I've used many IDEs over the years, currently on PyCharm.
Just to qualify the feedback.
Pros:
- It looks very pretty.
- Some nice time saving features.
Cons:
- Mac only.
- Subscription business model.
- Having to tie the code to the IDE.
Any one of the con's would be a deal breaker for me.
Overall I'm not sure what the target market is. Maybe I'm just too used to having free and/or libre tooling.
I'm curious to understand this better (as a fan of JetBrains): do you currently use PyCharm Community or does the JetBrains model not count as a subscription for you?
Continue this thread — 8 replies
Are you sure this isn't what Scripton is offering? From the pricing page:
> All updates included while subscription is active
That doesn't preclude the idea that what stops when your subscription ends is the updates, not use at all. But I genuinely don't know either way.
Continue this thread — 3 replies
https://www.techsmith.com/
In general, subscriptions are a high bar for me. You typically pay for them year after year but see minimal improvements. Back when I was doing Java development, I paid for my own copy of Idea just to get to use something good. But I don't think I would do that for a subscription.
I'm trying to figure out how anyone could think that. Every time I switch to VS Code I feel hamstrung.
What do you find to be inferior?
Also the built-in type checker is just bad
Both work for Python syntax highlighting. But I've had several bugs in PyCharm that took several versions to get fixed. To be fair, individual extensions in VSCode can also have bugs, but I've generally found it easier to work around issues because it is less "bundled".
Pycharm is like driving an automatic, whereas VSCode feels like driving manual. It is a tradeoff as always, so ymmv.
At work I do have the all products pack since we support multiple programming languages for our client libraries and custom integrations.
My only major complaint with jetbrains is having a separate IDE for .NET vs everything else.