Tdiff v0.1.1 is out, with line wrapping.
Thanks @willmcgugan.bsky.social!
Posts by David Brochart
I just released tdiff, a Textual diff viewer based on @willmcgugan.bsky.social's awesome textual-diff-view.
github.com/davidbrochar...
It seems it happened:
bsky.app/profile/orhu...
You can now use Ratatui in Python! 🐀🥳
🐍 PyRatatui — Python bindings for @ratatui.rs
💯 Build high-performance TUIs in Python with 35+ widgets, async & effects
🦀 Backed by Rust via PyO3
⭐ GitHub: github.com/pyratatui/py...
#rustlang #ratatui #tui #python #library #bindings #pyo3 #terminal
I created Python bindings for Facebook's Yoga flexbox layout engine (entirely using AI):
github.com/davidbrochar...
It's part of a bigger project to provide Python bindings to opencode's opentui.
Hmm I think I misunderstood, what I meant is `pixi install github.com/user/repo@latest`, similarly to `go install ...`.
Nice, does "installing from git" work for Python packages too?
You can fire but not forget :)
Just create a root task group in your async main function and use it anywhere downstream, at least you'll get an exception if anything goes wrong.
Maybe it's a bad idea to fire and forget in the first place? It's just impossible to do in AnyIO or Trio, and asyncio is going in that direction too.
Recreating Ed Hawkins' climate spiral visualization in a Jupyter Notebook on notebook.link 🎨
The notebook uses NASA GISTEMP v4 monthly temperature anomalies from 1980 to 2025, and the p5.js JupyterLite kernel for ad-hoc visualizations 💡
➡️ Try it in your browser: notebook.link/@jtp/paintin...
I'm vibe coding a port of Yjs to Python in:
github.com/davidbrochar...
Quite impressed by Mistral Vibe so far.
Just published textual-editor to PyPI.
It's a textual widget that is similar to a TextArea, but that actually runs a real editor and connects it to an embedded terminal emulator, so that you get all the power of neovim (or whatever your preferred editor is).
github.com/davidbrochar...
Jupyverse now supports legacy Jupyter server extensions.
It does that by proxying the server, so no rewrite of the original extensions is needed.
You can try jupyterlab-git and jupyterlab-lsp with:
pip install jupyverse[jupyterlab,auth,jupyterlab-git,jupyterlab-lsp]
Thanks, I think what I needed is in `packaging`.
Indeed :)
Do you know what is the alternative, beyond pinning setuptools<81?
RTFM is turning into ATFA (ask the fucking AI)
We are thrilled to introduce notebook.link, a platform that lets you create, share, and run Jupyter notebooks instantly in your browser.
Powered by JupyterLite and WebAssembly, it supports Python, R, C++, and a full in-browser terminal experience.
📖 Read the full story: medium.com/@QuantStack/...
Here's one pointer: a notebook shared model has a shared text for an input cell.
github.com/jupyter-serv...
That allows multiple users to type into the cell at the same time. It's a CRDT so conflicts are resolved automatically in real-time. That's how collaboration works in Jupyter. AI could use it.
No, I think most Jupyter AI extensions' workflow is rather to treat the AI as a collaborator and use the real-time collaboration system to modify the shared model of the notebook, not the underlying JSON directly.
Jupyter has integrated AI in the notebook's environment. I think @willmcgugan.bsky.social's Toad is doing the other way around: integrating the notebook in the AI environment.
I've added a tree view to pick files in Toad. 🐸
Fuzzy searching is great when you know what you're looking for. But a tree view is more natural when you want to look through your files.
Toad is a unified interface for agentic coding, and all things AI, in your terminal.
github.com/batrachianai...
Alrighty. The Toad is out of the bag. 👜🐸
Install toad to work with a variety of #AI coding agents with one beautiful terminal interface.
I've been told I'm very authentic on camera. You just can't fake that kind of awkwardness.
#AI #Python #Toad
www.youtube.com/shorts/ZLhct...
Can't wait for the release!
Seeing these ".." getting smaller, it seems to me your're using Ghostty 😃
I recorded a video about a new feature I added to Toad...
Toad will detect "dangerous" shell commands in bash commands.