r/Python • • Sep 12 '26

Discussion Appreciation to Hynek Schlawack

This guy is kind of my mentor in Python and open-source. He definitely loves programming. He has been an importtant Python core maintainer, and published some successful libraries like attrs and structlog for improving codebases legibility and structure, he also has a high value series in his youtube channel about how to package python applications in a extremely clean way by using uv (https://www.youtube.com/watch?v=mFyE9xgeKcA).

What I also love from him is his minimalism and simplicity. In a world of tones of lines of AI-generated code per-day, he has recently published pgbg, a new python library consisting in 7 files, very little code, that emerges from a deep understanding of how background processing works in python and the gaps on it. These type of low-abstraction level projects are the ones on which tones of big projects rely. Definitely highly valuable.

196 Upvotes

40 comments sorted by

50

u/Tinche_ Sep 12 '26

Hynek is definitely a pillar of the community, no doubt about it, and rarely gets the recognition he deserves. His stuff is super solid and he's a model of open source stewardship. I was also introduced to the python open source community by him (about a decade ago).

9

u/guillermolb Sep 12 '26

Thanks for your comment!! :) And yes, he rarely gets recognition, and rarely hypes himself up, so unusual these days.

17

u/ericbn8 Sep 12 '26

Another project he maintains that is super sleek and elegant is  https://github.com/hynek/first/. The praise is totally well-deserved!

4

u/guillermolb Sep 12 '26

Totally, 14 years old commits are crazy hahah

4

u/arjunnath Sep 12 '26

He doesn't seem to have posted in a year.

7

u/guillermolb Sep 12 '26

Yes... :c and his uv series was supposed to have three parts. Anyways I encourage you to watch his few videos, highly valuable content, also he is still very active on his github hynek (Hynek Schlawack).

2

u/benz05 Sep 13 '26

100% - his using uv in docker series is the basis for how my company does this now.

14

u/cue-ell-pea Pythonista Sep 12 '26

He is pretty active on Mastodon. Definitely worth the follow if y'all are on the Fediverse.

1

u/guillermolb Sep 12 '26

Didn't know about this, thanks!!!!

23

u/hynek PyCA, attrs, structlog Sep 13 '26

Yes, it’s embarrassing and the result of an unholy combination of:

- busy 2025/2026 (including several conference talks)
- the necessity to rewrite the f*cking script at least 5x because new things came up. I promise, the resulting Dockerfiles are not anything you’ve seen before.
- admittedly, a bit of a lull in motivation since everybody seems to only care about “AI” (I’m not categorically anti-AI, I’m anti-AI-mania.

I thought my script was almost ready in February, but little did I know. Now I’m genuinely in a good place content-wise and need to make the script more YouTube (aka stop people from closing the tab), record it, and edit it.

I don’t want to give any time estimates anymore since life keeps happening, but I feel like I’m on the one stretch myself.

It’s gonna be long again. 😳

4

u/arjunnath Sep 13 '26

thanks for responding Hynek.
No need to be embarrassed. Life happens.

2

u/hynek PyCA, attrs, structlog Sep 14 '26

The thing is that it annoys me more than anyone else. I don’t even know what to do with myself after I finally ship it. 🙈

53

u/hynek PyCA, attrs, structlog Sep 13 '26

Aw thank you this made my current vacation. 🥹

4

u/venoush Sep 13 '26

What are your Czech roots Hynek?

12

u/hynek PyCA, attrs, structlog Sep 13 '26

I don’t have “Czech roots”, I _am_ Czech. I was born in Prague and lived there until I was six when we emigrated to Germany.

5

u/venoush Sep 13 '26

Oh, apologies. I got consided by "from Berlin" on your website. Also your English is missing any typical Slavic accent.

6

u/hynek PyCA, attrs, structlog Sep 13 '26

Heh my accent is mainly German but confuses many people because I can pronounce certain sounds Germans can’t. I have an accent in Czech that gets less severe the longer I’m in Czechia which also tends to confuse people.

4

u/idangazit Sep 13 '26

One hundo percent

5

u/frankwiles Sep 12 '26

Hynek is awesome all around

5

u/judy2k Sep 13 '26

He's too tall, and he has a weird accent.

5

u/offby2 Hubber Missing Hissing Sep 13 '26

His use of idiom is often terribly flawed as well.

4

u/frankwiles Sep 13 '26

I was about to get mad, then saw the username 😀

4

u/judy2k Sep 13 '26

"The way you two talk to each other ... it's like one of you is going to get stabbed!" ... is a genuine quote.

4

u/hynek PyCA, attrs, structlog Sep 13 '26

One of us did, in fact, get stabbed.

2

u/frankwiles Sep 13 '26

I always miss all the fun!

3

u/offby2 Hubber Missing Hissing Sep 13 '26

Be the change you want to see in the world: be stabbed by Hynek!

2

u/mpirnat Sep 14 '26

What’s worse: stabbed by Hynek, or flying with Hynek?

2

u/offby2 Hubber Missing Hissing Sep 14 '26

Being stabbed while flying with Hynek, obviously.

1

u/frankwiles Sep 13 '26

I’m starting to think it was very wise to have YOU hold my knife and not Hynek at PyCon last year hahaha

2

u/judy2k Sep 15 '26

It's not the knives, it's the forks you really need to worry about.

3

u/offby2 Hubber Missing Hissing Sep 15 '26

You can always fend him off by offering him a Pinot Noir.

→ More replies

1

u/MajesticBet1993 Sep 12 '26

I didn't know him, but used his work as appears, thanks for giving visibility!!

1

u/guillermolb Sep 13 '26

so glad to read that!😊

4

u/AlSweigart Author of "Automate the Boring Stuff" Sep 13 '26 edited Sep 14 '26

I give Hynek a dollar a month. (My patreon is dozens of these low amounts.) If this is more than you give him, then you can change that.

2

u/ComplexLook7 Sep 13 '26

Attrs was a step change in my Python coding journey. It should be more popular than it is.

1

u/teerre Sep 13 '26

Not anything against him, but pgbd is "simple" and "only 7 files" because it doesn't do anything by itself, it just orchestrates other libraries that actually do something. This is like the meme import cure; cure("cancer")

7

u/hynek PyCA, attrs, structlog Sep 13 '26

TBF, the main background task package it uses (bgt) is mine too. In fact, it used to live inside of pgbg until very recently and I ripped it out because I needed background threads in a project without Postgres myself. The other library is a database driver.