atlas news
    
Daniel Roy Greenfeld
26  juillet     09h15
TIL: How to type args and kwargs
   A reduction in boilerplate confused me, the answer is that the type to define is the value in the containers.
27  juillet     16h55
Unpack for keyword arguments
   Keyword arguments can now be more narrowly typed by using typing.Unpack and typing.TypeDict.
22  août     02h20
TIL: Single source version package builds with uv (redux)
   Tired of updating the version in multiple places before publishing a package update? Here’s how Adam Johnson told me I should be doing it.
29  août     05h54
TIL: Using SQLModel Asynchronously with FastAPI (and Air) with PostgreSQL
   SQLModel is a really useful library for working with SQL databases in Python, built on top of SQLAlchemy and Pydantic. However, AFAIK there’s no documentation supporting asynchronous operations for PostgreSQL, which can be a limitation when building high-performance web applications with FastAPI...
02  septembre     02h29
TIL: Setting environment variables for pytest
   An easier way of doing it then modifying os.environ
13  septembre     08h49
TIL: Merging two git projects
   Attribution matters to me, I want contributors to always get full credit for their effort. This is how you preserve the git history of a project you are bringing into another project.
24  septembre     00h45
Over Twenty Years of Writing Tools
   A retrospective of over twenty years worth of writing tools that I’ve used to write online.
27  septembre     05h40
I Don’t Know You, Don’t Ask For References
   About once a week someone I’ve never talked to before asks me to provide professional references.
28  septembre     22h44
TIL: Loading .env files with uv run
   Replacing python-dotenv with uv
05  octobre     08h00
Using pyinstrument to profile Air apps
   Quick instructions for a drop-in Air middleware for identifying performance bottlenecks in Air apps
19  octobre     05h07
Using Asyncpg with FastAPI and Air
   Asyncpg is the connector for PostgreSQL and asyncio-flavored Python. Here’s how to use it without other libraries on FastAPI and Air projects.
22  octobre     13h00
uv just for testing multiple Python versions
   In the old days we relied on tox and nox to test a Python project against multiple Python versions, now we can lean on uv just. For most projects this keeps our configuration straightforward and reduces dependencies.
11  novembre     14h45
Visiting Tokyo, Japan from November 12 to 24
   Our first time in a new country
22  novembre     12h08
TIL: Default code block languages for mkdocs
   Really useful for making inline code examples have code highlighting.
11  décembre     08h25
Adding Type Hints to my Blog
   Using pyrefly to identify type failures on this site and then fixing one of them.