Advertisement · 728 × 90

Posts by David Brochart

Post image

Tdiff v0.1.1 is out, with line wrapping.
Thanks @willmcgugan.bsky.social!

9 hours ago 1 0 0 0
Video

I just released tdiff, a Textual diff viewer based on @willmcgugan.bsky.social's awesome textual-diff-view.
github.com/davidbrochar...

3 days ago 5 2 0 0

It seems it happened:
bsky.app/profile/orhu...

1 week ago 1 0 0 0
Video

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

1 week ago 31 6 0 1
Preview
GitHub - davidbrochart/pyyoga Contribute to davidbrochart/pyyoga development by creating an account on GitHub.

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.

1 week ago 1 0 0 0

Hmm I think I misunderstood, what I meant is `pixi install github.com/user/repo@latest`, similarly to `go install ...`.

3 weeks ago 0 0 1 1

Nice, does "installing from git" work for Python packages too?

3 weeks ago 0 0 1 0

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.

4 weeks ago 0 0 0 0

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.

1 month ago 0 0 1 0
Advertisement
Video

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...

1 month ago 5 5 0 0
Preview
GitHub - davidbrochart/ydoc Contribute to davidbrochart/ydoc development by creating an account on GitHub.

I'm vibe coding a port of Yjs to Python in:
github.com/davidbrochar...

Quite impressed by Mistral Vibe so far.

1 month ago 3 0 0 0
Post image

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...

1 month ago 4 1 0 0

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]

2 months ago 5 0 0 1

Thanks, I think what I needed is in `packaging`.

2 months ago 1 0 0 0

Indeed :)
Do you know what is the alternative, beyond pinning setuptools<81?

2 months ago 0 0 1 0
Preview
Announcing the Positron Notebook Editor for Jupyter Notebooks - Posit The Positron Notebook Editor in alpha provides a "batteries-included" experience that combines the simplicity of Jupyter with the power of a purpose-built data science IDE.

Announcing the Positron Notebook Editor for Jupyter Notebooks. posit.co/blog/announc...

2 months ago 5 2 0 0
Advertisement

RTFM is turning into ATFA (ask the fucking AI)

2 months ago 1 0 1 0
Notebook.link

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/...

2 months ago 24 18 0 3
Preview
Introducing notebook.link: The Future of Notebook Sharing Reimagining how you share, collaborate, and run Jupyter notebooks — all in your browser.

medium.com/@QuantStack/...

2 months ago 0 0 0 0
Preview
jupyter_ydoc/jupyter_ydoc/ynotebook.py at 654e8f80f619c7820dd82dfbe3c6d985b6a69e28 · jupyter-server/jupyter_ydoc Jupyter document structures for collaborative editing using Yjs/pycrdt - jupyter-server/jupyter_ydoc

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.

3 months ago 1 0 1 0

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.

3 months ago 1 0 1 0

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.

3 months ago 1 0 1 0
Video

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...

3 months ago 16 2 0 0

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...

4 months ago 10 6 1 0
Advertisement

Can't wait for the release!

4 months ago 1 0 0 0

Seeing these ".." getting smaller, it seems to me your're using Ghostty 😃

4 months ago 0 0 0 0
Video

I recorded a video about a new feature I added to Toad...

Toad will detect "dangerous" shell commands in bash commands.

4 months ago 14 3 1 0
GPU-Accelerated Zarr This post gives detailed background to my PyData Global talk, “GPU-Accelerated Zarr” (slides, and I’ll share the video when it’s up in a couple months). It deliberately gets into the weeds, but I will...

New blog post exploring a GPU-accelerated Zarr: tomaugspurger.net/posts/gpu-ac...

4 months ago 4 2 0 0
Preview
GitHub - mistralai/mistral-vibe: Minimal CLI coding agent by Mistral Minimal CLI coding agent by Mistral. Contribute to mistralai/mistral-vibe development by creating an account on GitHub.

Looks like mistral-vibe uses Textual. Will it be outdated after @willmcgugan.bsky.social's Toad?
github.com/mistralai/mi...

4 months ago 0 0 0 0
Preview
Goodbye SQL, hello CRDT! Sometimes we use abbreviations so often we don’t remember what they stand for. And sometimes we use a particular technology just because…

I wrote a blog post about switching from SQL to CRDT.
david-brochart.medium.com/goodbye-sql-...

4 months ago 1 0 0 0