frankie567
Callouts demo

Polar now supports callouts in posts, with the same syntax as GitHub:

Here is how they are displayed:

frankie567
SQLAlchemy: stop calling `session.commit()`

When programming, you probably often have, like me, those Aha! moments: when things that were not really clear or obvious in your mind suddenly start to make sense. This week, I had one of these... Even if it turned out to also be a Doh! moment 😰

This time, it was brought to me by SQLAlchemy. This Python library is the de-facto standard for working with SQL databases. It's super powerful... But also hard to tame.

frankie567

François Voron

February 14
Introducing pwdlib, a modern password hash helper for Python

Four years ago, I've made the first commit to FastAPI Users. At that time, all I wanted was a simple solution to manage users authentication in a FastAPI project. I didn't really have any specific experience in this field, other than what I knew from what other web frameworks like Django did.

frankie567

François Voron

February 2
typing.Annotated, the new Python cool

If, like me, you're a huge fan of what Pydantic and FastAPI folks are doing, you can't have missed the new Annotated construct, which was introduced in Python 3.9. In a few months, we've seen lot of code examples changed from this:

```python from uuid import uuid4

from pydantic import BaseModel, Field

frankie567

François Voron

January 26
Write better Python code faster with type hints

If you've followed the Python evolutions for the last few years, you probably know that type hints are a thing. Since its introduction in Python 3.5, the typing module has quickly grow and lot of Python codebases nowadays are using type hints.

If you're not using them already, I can guarantee that you will by the end of this post 😉

The problem 😩