Quentin Pradet

Quentin Pradet

@quentin.pradet.me

I like maintaining things: the Elasticsearch Python clients by day, urllib3 and trustme by night. I write about #Python, HTTP, async/await, open source and performance! he/him

1.1K followers164 following152 posts

Quentin Pradet reposted

I've just published 10 blog posts detailing the #Python Language Summit 2026. The Language Summit was held in Kraków, Poland and included discussions about free-threading, #Rust, garbage collectors, and type annotations. Please enjoy and thank you for your patience: blog.python.org/2026/09/lang...

Quentin Pradet reposted

@sethmlarson.dev and I went through months of intense, complex work to climb a steep and slippery learning curve, only to be stopped short at the very end by a hard ethical line we couldn't cross—it was gut-wrenching. I'm proud of what we did and I'm proud of what we didn't do.

TLDR; The PSF has made the decision to put our community and our shared diversity, equity, and inclusion values ahead of seeking $1.5M in new revenue. Please read and share. pyfound.blogspot.com/2025/10/NSF-... 🧵

Quentin Pradet reposted

Since PyCon Africa is affected by the PSF Grants pause, I am hopeful that donation tickets can make a difference.

Ngazetungue Muheue@muheuenga.bsky.social

🎟️ Donation Ticket Now Available! Support PyCon Africa 2025 by purchasing a Donation Ticket, attend the conference and help us bring more developers from across Africa. 👉 za.pycon.org/tickets @python.org @za.pycon.org

Exciting! Free-Threading builds are here to stay. The adoption has been incredibly fast so far. (urllib3 works with free-threading, but still need cryptography to add support before we can test it in CI.)

This talk is incredible. In 30 minutes, a binary search implementation is sped up by 25x using profiling tools, including L1 cache and pipeline stall analysis. While the tools are Apple-specific, the concepts are general and apply everywhere. developer.apple.com/videos/play/...

developer.apple.comOptimize CPU performance with Instruments - WWDC25 - Videos - Apple DeveloperLearn how to optimize your app for Apple silicon with two new hardware-assisted tools in Instruments. We'll start by covering how to...

In the past nine months, three companies (Speakeasy, Stainless, and Fern) have collectively raised $49M to bring SDK and docs generation to everyone. Why now? I have no idea. After all, this has nothing to do with AI, and OpenAPI Generator has been popular for years.

View full thread

Another (major) issue: OpenAPI relies on JSON Schema, a data validation language. It is hard to go from a collection of oneOf and anyOf to actual request and response types in a given programming language. It works well enough for simple cases, so many projects still try.

For example, OpenAPI does not support optional parameters in URLs! OpenAPI was initially designed for RESTful API, so mandating parameters made sense. Thankfully, version 4.x "Moonwalk" will fix that issue, but no known release date exists.

It looks like mapping the new syntax to the Elasticsearch DSL, which natively supports nested queries and boolean operators, was the easy part. Elasticsearch has lots of features, yes, but it is to support advanced usages like this one!

Simon Willison@simonwillison.net

Nice clear explanation of how GitHub roll out new implementations of features out that get 2,000 queries a second - including dark-shipping to 1% of users where the new implementation is invisibly compared with the production one via a background job

AGPL continues to get more popular as companies want the open source label for their product! Elastic did the same thing last year.

antirez@antirez.bsky.social

Redis is open source again: antirez.com/news/151

Quentin Pradet reposted

Thank you @americanexpress.bsky.social for sponsoring urllib3 and helping improve critical Python internet infrastructure. I know it takes a lot of activation energy for a large company to sponsor an amount like this, so I extra appreciate whoever did the leg work on this. 🙏

Quentin Pradet reposted

Elastic is now on BlueSky! Follow us here for the latest updates on all things search, observability, security and more.

Quentin Pradet reposted

PEP 751 has been accepted! peps.python.org/pep-0751/ This means #Python now has a lock file standard that can act as an export target for tools that can create some sort of lock file. And for some tools the format can act as their primary lock file format as well instead of some proprietary format.

peps.python.orgPEP 751 – A file format to record Python dependencies for installation reproducibility | peps.python.orgThis PEP proposes a new file format for specifying dependencies to enable reproducible installation in a Python environment. The format is designed to be human-readable and machine-generated. Installe...

Quentin Pradet reposted

Now I'm looking for someone with 7+ years of FastAPI experience 🤭 Jokes aside, I'm doing interesting new things and want some extra help full-time 🚀 I'm looking for tons of skills and knowledge in SRE / DevOps / Platform / Cloud / name-it ...and of course, FastAPI Email jobs@fastapilabs.com

Quentin Pradet reposted

#Git mini tip: Use '-' to refer to the previously checked-out branch with 'git switch' and 'git checkout'. It’s great for returning to a feature branch after pulling the main or toggling back and forth to compare.

10 years ago, as part of my PhD, I launched a small PHP 5 application online. It's still up! Now using PHP 8. I intend to keep it online for a few more decades. Cool URIs don't change. Part of the trick is @alwaysdata.bsky.social, my hosting provider, which handles database and system upgrades.

📦 urllib3 2.3.0 is now available! It supports the WebAssembly JSPI API (enabling experimental Node.js support) and adds `HTTPResponse.shutdown()` (thanks to LaunchDarkly for sponsoring this feature). github.com/urllib3/urll... Note that we're still raising funds for full HTTP/2 support!

github.comRelease 2.3.0 · urllib3/urllib3🚀 urllib3 is fundraising for HTTP/2 support urllib3 is raising ~$40,000 USD to release HTTP/2 support and ensure long-term sustainable maintenance of the project after a sharp decline in financial ...

What this also means is that urllib3 works great with free-threaded Python! 🎉 I am sure it will expose some subtle concurrency bugs that exist already. But before we can have CI, we need cryptography wheels as we use it to generate test certificates.

📣 @quentin.pradet.me wrote 'Does the #Elasticsearch #Python client works with free-threaded Python (no-GIL)?' for the @elastic #AdventCalendar ▶️ https://discuss.elastic.co/t/370392. 🎅🏼🎄🎁

I really enjoyed this talk and the fun anecdotes around #Python packaging! The highlight for me was @burntsushi.net making `uv pip compile` 3x faster by representing most versions as a single u64 integer, making comparisons much cheaper.

Yaron Minsky@yminsky.bsky.social

Jane Street recently restarted our tech talk series after a pandemic-driven hiatus. Our first talk was from Charlie Marsh of Ruff fame, talking about how they made uv, their new package manager for Python, so fast! youtu.be/gSKTfG1GXYQ?...

Time flies: urllib3 is fully type annotated since 2021! sethmlarson.dev/tests-arent-... Since then, maintaining the types has been easy despite our growth. And they kept paying dividends, just like our decision of enforcing 100% coverage. #Python #SoftwareEngineering

sethmlarson.devTests aren’t enough: Case study after adding type hints to urllib3Since Python 3.5 was released in 2015 including PEP 484 and the typing module type hints have grown from a nice-to-have to an expectation for popular packages. To fulfill this expectation our team...

I can highly recommend following @gergely.pragmaticengineer.com for the useful software engineering insights and info on the latest industry trends!

Gergely Orosz@gergely.pragmaticengineer.com

Bluesky never felt so active as it has, the last few days. It's great to be here! (I'm here for software engineering and tech topics - both following these, and sharing more about them. I write The Pragmatic Engineer and host the podcast with the same name. E.g. a recent article)

If anyone has a reason to hype up language interfaces and LLMs, it’s @inesmontani.bsky.social—founder of Explosion, the company behind the Python NLP tools spaCy and Prodigy. But her take? Sometimes, a simple form does the job better. Let’s build more alarm clocks and less automated window knockers!

PyLadies Bot@pyladies-bot.bsky.social

📝 "The Window-Knocking Machine Test" 👤 Ines Montani 🔗 https://ines.io/blog/window-knocking-machine-test #pyladies #python

You are up to date.