David Brochart's Avatar

David Brochart

@davidbrochart.bsky.social

Better not to start, once begun better to finish.

105 Followers  |  160 Following  |  54 Posts  |  Joined: 05.11.2024  |  1.7364

Latest posts by davidbrochart.bsky.social on Bluesky

Generative AI Monitoring with PydanticAI and Logfire - Marcelo Trylesinski
YouTube video by Python Italia Generative AI Monitoring with PydanticAI and Logfire - Marcelo Trylesinski

When you expect to use an LLM to help you live code but you loose Internet access during your talk, "it's like old days"!
@marcelotryle.bsky.social you made my day πŸ˜„
www.youtube.com/watch?v=agSs...

05.08.2025 04:12 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Why you should be using AnyIO APIs instead of asyncio APIs β€” AnyIO 4.10.0 documentation

If you think you should use asyncio because it's the native async framework in Python, you might want to read this (TLDR: use AnyIO instead):
anyio.readthedocs.io/en/stable/wh...

04.08.2025 09:10 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

Microverse is deployed on GitHub pages here:
davidbrochart.github.io/microverse/
Note that it doesn't work in Firefox and that it's quite slow to start up (see dev network).
It's still very early stage, but it's improving. One interesting feature is how kernels can be shared between browser windows.

28.07.2025 16:50 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I didn't implement the events API yet. It's in my TODO list.

27.07.2025 14:37 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

You could try:

pip install "jupyter-collaboration" "jupyverse[jupyterlab,auth]"

jupyverse --set kernels.require_yjs=true --set jupyterlab.server_side_execution=true --open-browser

27.07.2025 13:44 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Nice to see that you're working on a new Rust backend, but FYI "server-side execution" already exists in Jupyter, both in jupyter-server and jupyverse.

27.07.2025 06:47 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I'am also happy that you were wrong about "never being able to find joy in building things". That would have been such a loss for the Python community!
Go write the best UI for agentic coding ever πŸš€

24.07.2025 07:51 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Announcing Toad - a universal UI for agentic coding in the terminal I’m a little salty that neither Anthropic nor Google reached out to me before they released their terminal-based AI coding agents.

The Toad is out of the bag! πŸ›πŸΈ

Announcing Toad - a universal UI for agentic coding in the terminal

willmcgugan.github.io/announcing-t...

#Python #AI

23.07.2025 15:34 β€” πŸ‘ 60    πŸ” 14    πŸ’¬ 9    πŸ“Œ 3

Yes, it serves JupyterLab, just like the "regular" JupyterLab. Of course the transport layer is not a real socket, nor TCP or even HTTP, but ASGI.
This allows to reuse the same architecture, with a lot of things coming for free. As long as it compiles to WASM, it should work in microverse.

16.07.2025 15:57 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

Microverse is a new in-browser version of JupyterLab. Don't we already have JupyterLite, you might ask?
While there is no web server in JupyterLite, there is one in microverse, and it is Jupyverse.
I think this will open up new possibilities.

16.07.2025 08:56 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Toad
YouTube video by Will McGugan Toad

The day before treason day (jk) is a terrible time to announce anything, so consider this a teaser.

I've spend the last two afternoons hacking on an experimental terminal UI for a AI coding agent called Toad 🐸

Will be posting more soon. Follow me if you aren't already!

#Python #Textual #AI

03.07.2025 16:32 β€” πŸ‘ 2    πŸ” 2    πŸ’¬ 1    πŸ“Œ 0
Preview
Create your own layers in JupyterGIS Introduction

New blog post: "Create your own layers in JupyterGIS".

Use the power of notebooks to compute custom tiles on-the-fly from Xarray (big) data, interact and collaborate on the map right from JupyterLab.

david-brochart.medium.com/cbb995a89b16

24.06.2025 14:39 β€” πŸ‘ 16    πŸ” 8    πŸ’¬ 0    πŸ“Œ 0
Post image

My talk at PyData Paris on "Parallel processing using CRDTs" has been accepted and I want to illustrate it with the image bellow.
The small ships are all the peers that are concurrently mutating the global state (the big ship). They can all diverge temporarily but they tend to converge eventually.

17.06.2025 13:53 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

Introducing a new exciting NumFOCUS Sponsored Project: GRASS! grass.osgeo.org πŸ’š

GRASS is a geospatial engine that enables spatial data analysis, visualization, and modeling. It provides science-backed tools to understand and manage landscapes and human environments.

Welcome to NumFOCUS family! πŸ’š

09.06.2025 12:02 β€” πŸ‘ 1    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

Colombian coffee FTW 😁

09.06.2025 08:06 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
Ratatui Ratatui: A Rust crate for cooking up Terminal User Interfaces

Will Textual eventually become a Rust-first library like Ratatui, with Python bindings?
ratatui.rs

06.06.2025 21:18 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Video thumbnail

I'm working on a new in-browser JupyterLab. The difference with JupyterLite is that there is a server running in the browser πŸš€
It's actually Jupyverse, a FastAPI-based Jupyter server.

04.06.2025 13:33 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

This is a big deal!

29.05.2025 06:16 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

jupytergis-tiler allows to visualize local or remote Xarray datasets in JupyterGIS.
It doesn't matter if the data is huge and doesn't fit in memory, the tiler will render to the screen just what you need to see.
All powered by @developmentseed.org's awesome TiTiler!
github.com/geojupyter/j...

23.05.2025 07:48 β€” πŸ‘ 14    πŸ” 5    πŸ’¬ 2    πŸ“Œ 0

I'm honestly tired of these programming language wars. I mean, there is nothing wrong with C++, as long as it's wrapped in a Python extension 😜

14.05.2025 13:04 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I also think this could be AnyIO.

08.05.2025 06:57 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

That's the drawback of depending on a product that is driven by a single, privately held company. And that's why it's important to build a community-driven governance. But hey, you are going to learn the hard way πŸ˜‰

24.04.2025 12:21 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
Exploring Open Access Art Using the Deno Jupyter Kernel Jupyter notebooks are the de facto standard for interactive computing and data analysis, combining code, prose, and visualizations in a…

There are other tools for datascience in JS, one of them being Jupyter :)
Did you know that Deno had a builtin Jupyter kernel?
blog.jupyter.org/exploring-op...

23.04.2025 08:26 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
GitHub - y-crdt/pycrdt: CRDTs based on Yrs. CRDTs based on Yrs. Contribute to y-crdt/pycrdt development by creating an account on GitHub.

The pycrdt Python library found its new home in the y-crdt organization.
Originally created for the Jupyter project, it is a general Yjs-compatible CRDT implementation that can be used in any project, independently of Jupyter.
github.com/y-crdt/pycrdt

19.04.2025 08:59 β€” πŸ‘ 7    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0
Preview
jpterm Jupyter in the terminal.

I created my first repository on Codeberg:
codeberg.org/davidbrochar...

Jpterm is no longer being developed on GitHub.

03.04.2025 21:09 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Exploring Art with TypeScript, Jupyter, Polars, and Observable Plot With Deno's Jupyter support, you can explore, interact, and create interactive charts with TypeScript and HTML. Here's a tutorial featuring data of over 130,000 famous artworks.

Data analysis in @jupyter.org with... TypeScript?! 😱
βœ… using `fetch` and other web standards
βœ… fast dataframes with nodejs-polars
βœ… easy charts with @observablehq.com
βœ… rich interactive UIs with JavaScript

Learn more in this detailed walkthrough πŸ‘‡
deno.com/blog/explori...

01.04.2025 17:21 β€” πŸ‘ 44    πŸ” 9    πŸ’¬ 0    πŸ“Œ 4
Preview
JupyterCon | LF Events Discover the future of data science with hands-on training, visionary keynotes, innovative tools, and insights from top Jupyter contributors.

JupyterCon 2025 is happening! Join us in San Diego, California, from November 3–6, 2025. CFP is open now. Learn more at bit.ly/jupytercon

31.03.2025 21:25 β€” πŸ‘ 21    πŸ” 7    πŸ’¬ 0    πŸ“Œ 0
Preview
Making Qt collaborative using CRDTs Introduction

I wrote a blog post about making Qt collaborative using CRDTs.
david-brochart.medium.com/94c470703253

31.03.2025 09:55 β€” πŸ‘ 7    πŸ” 4    πŸ’¬ 0    πŸ“Œ 0

I'm wondering if that will put you in a position to build a Python compiler, like mypyc?

28.03.2025 10:28 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Découvrez QuantStack avec Afshin, Technical Director
YouTube video by Welcome to the Jungle Solutions Découvrez QuantStack avec Afshin, Technical Director

Catch Afshin Darian, technical director at QuantStack and a member of the Jupyter Executive Council, in this short interview as he discusses open source software, his work at QuantStack, and the exciting challenges ahead.

www.youtube.com/watch?v=lR-x...

28.03.2025 08:52 β€” πŸ‘ 4    πŸ” 3    πŸ’¬ 0    πŸ“Œ 0

@davidbrochart is following 20 prominent accounts