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
Earlier commentsI'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?
Continue this thread — 2 replies
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.
The OP posted a cool project, but 20$ a month for a nice VS code fork is absurd. Plus it's Mac only now.
Continue this thread — 1 reply
* Most consumers now swallow a live service model and associated costs that they don’t want
* Most consumers now swallow the costs of west coast tech culture: cost of living, esoteric architectural choices, fad driven development, and hobby driven development
* Most owners of software businesses expect to get rich in a relatively short time frame
* Software is absurdly high margin if built effectively and distributed at (effectively) zero cost. Where do consumers ever see these savings when cost outpaces inflation?
* Record profits and layoffs being recorded by the broader industry
And specifically to the point of productivity tools inherently justifying nearly any price, this argument is fundamentally flawed because productivity is only measurable if it can be strictly defined and good luck with that one. Salespeople have made billions hawking that fallacy and people eat it up because American work culture fetishizes productivity.
This isn’t a critique of OP I really went down a rabbit hole exploring and appreciating this project and hope it succeeds.
The underlying business model of software is dystopian when compared to what it could be if everyone didn’t bind happiness to being cartoonishly wealthy in Menlo Park.
Continue this thread — 5 replies
That being said, I purchased a copy for personal use almost 6 years ago for around ~200 USD and guess what? I just installed it on a fresh PC a few weeks ago, and it works perfectly. No subscription necessary.
And most important, if you stop paying, you will lose the gain from it. If dev screws up at some point, you might lose the gain from it. It's not really clear how updates are working. Are you forced to always use the newest version? Or can you stay at a specific version for all time? This uncertain factors and other, demand that the gain from a subscription is so immense, that you are willing to take the risk. And this tool here is not there yet, maybe never will; making it hard to justify a sub.
> Absurd is people paying 80$+/month for yt tv so they can watch ads..
Youtube is an external service. You are paying for their running costs, which you create. This IDE is local, and there is no guarantee which updates will come and which benefits they will have for you. So there is no "running cost" you create for them.
https://xkcd.com/1205/ provides an idea of the cost of the time spent by improving a tool, or, equivalently, saved by paying for it. If you're paid even $50 an hour, a $20 / mo tool that saves you 30 minutes a month, cumulative, is already worth paying for. And this thing can save hours and hours a month for a particular kind of work.
When transitioning from MechE -> CS, every programming interface felt unintuitive and daunting to set up. Spyder made it so simple to get started. It turned python into a Matlab-esque numeric computing interface, got out of your way and let you built whatever you wanted. It reduced the 'time to magic' like no other tool I'd tried. (Can I coin the term : 'time to magic'?)
If I had to setup PyCharm on day 1, I'd never have gone past the my first barrier. Before jupyter & colab, there was Spyder. It remained my trusty IDE for a full year until Jupyter notebooks & VsCode came around.
Not sure if today this is enough though without any kind of AI chat assistant. Trae [0] is based on VSCode and Jetbrains Fleet are good looking as well. Visualization is definitely a big plus but there is also alternative like using rerun [1] and dearpygui [2] or some VSCode plugins (Python Image Preview, AREPL for Python)- might be hard to compete with those free alternatives on a subscription model IMHO but good luck!
[0] https://trae.ai/
[1] https://www.rerun.io/
[2] https://github.com/hoffstadt/DearPyGui
Find people who pay the $1000/yr to use 1 tool in Matlab, and start pulling them away.
I won't discourage them away from SWEs. Instead, I want to encourage them to sell to core engineers. I was a MechE for the longest time too. And this is a great Matlab alternative. In fact, I was exactly that MechE who was using HN to feel like a part of the tech community.
The top post is phrased as a sell. But, if I'd read it during my MechE days then it would've gone right over my head.
All comments shown.
Couldn't load more comments. Check your connection and try again.