Skip to content
TILens What matters today in tech v0.4.0
Theme
Topics - Python
Calendar · NOV 2026
‹ Nov 2026 ›
  1. JAN
  2. FEB
  3. MAR
  1. APR
  2. MAY
  3. JUN
  1. JUL
  2. AUG
  3. SEP
  1. OCT
  2. NOV
  3. DEC
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30
Favorites (0)

Community stream

Community

Handwriting on the Floor

Sometimes there is handwriting on the floor. Sometimes there are printed pages on the walls, set like scripture, type where no type is. This has been true for years. It comes in waves, usually when stress is high or the medication needs adjusting,…

kenneth-reitz

SQLAlchemy 2 In Practice - Solutions to the Exercises

To conclude with my SQLAlchemy 2 in Practice series, this article contains the solutions to all the exercises. If you'd like to support my work, I encourage you to buy this book, either directly from my store or on Amazon. Thank you!

miguel-grinberg

Understanding PEP discussions

Please take a look at Kirigami, an open-source PEP discussion reader designed to improve the understanding and flow of a PEP thread. Motivation Long PEP discussions are time-consuming and difficult to follow. The lack of threading in Discourse makes…

discuss-python-peps

TIL #145 – collections.deque is implemented in blocks

Today I learned that collections.deque is implemented as a doubly-linked list of blocks. collections.deque I've written about the data structure deque from the module collections extensively. In particular, I wrote a deque tutorial with plenty of…

mathspp

SQLAlchemy 2 In Practice - Chapter 8: SQLAlchemy and the Web

This is the eighth and final chapter of my SQLAlchemy 2 in Practice book. If you'd like to support my work, I encourage you to buy this book, either directly from my store or on Amazon. Thank you! Whether you are building a traditional web…

miguel-grinberg

SQLAlchemy 2 In Practice - Chapter 7: Asynchronous SQLAlchemy

This is the seventh chapter of my SQLAlchemy 2 in Practice book. If you'd like to support my work, I encourage you to buy this book, either directly from my store or on Amazon. Thank you! Starting with release 1.4, SQLAlchemy includes support for…

miguel-grinberg

TIL #144 – Sentinel built-in

Today I learned Python 3.15 will get a new sentinel built-in. Sentinel values are unique placeholder values that are commonly used in programming. Python 3.15 ships with a new built-in sentinel that can be used to create new sentinel values: #…

mathspp

TIL #143 – Resolve a lazy import manually

Learn how to work around the Python machinery to resolve an explicit lazy import manually. A couple of articles ago I wrote about how you could inspect a lazy import. Apparently, you can use a similar trick to check the attributes and methods that a…

mathspp

How Bitwarden Encrypts and Decrypts Secrets

As part of my efforts in reducing my dependency on Big Tech, I have been researching how to self-host my password manager. One solution that looks very promising is Vaultwarden, an open source clone of the Bitwarden cloud server. An interesting…

miguel-grinberg

A git sign bug

While working on the new git signing feature for tumpa-cli I noticed that some of the commits can not be verified. For a moment I freaked out and then thought it must be a problem in my code. But, I could not dig enough. Opus 4.7 helped me to find…

kushal-das

SQLAlchemy 2 In Practice - Chapter 6: A Page Analytics Solution

This is the sixth chapter of my SQLAlchemy 2 in Practice book. If you'd like to support my work, I encourage you to buy this book, either directly from my store or on Amazon. Thank you! The goal of this chapter is to use the concepts you have…

miguel-grinberg

PEP 832: virtual environment discovery

Python Enhancement Proposals (PEPs) PEP 832 – Virtual environment discovery | peps.python.org This PEP sets out to help make the discovery of a project’s virtual environment easier for tools by providing a default location as well as a way for a…

discuss-python-peps

PEP 830: Add timestamps to exceptions and tracebacks

This PEP adds an optional timestamp to all exceptions that records when the exception was instantiated with no observable overhead. When enabled via environment variable or command-line flag, formatted tracebacks display this timestamp alongside the…

discuss-python-peps

Personal highlights of PyCon Lithuania 2026

In this article I share my personal highlights of PyCon Lithuania 2026. Shout out to the organisers and volunteers This was my second time at PyCon Lithuania and, for the second time in a row, I leave with the impression that everything was very…

mathspp

Who wants to be a millionaire: iterables edition

Play this short quiz to test your Python knowledge! At PyCon Lithuania 2026 I did a lightning talk where I presented a “Who wants to be a millionaire?” Python quiz, themed around iterables. There's a whole performance during the lightning talk which…

mathspp

uv skills for coding agents

This article shares two skills you can add to your coding agents so they use uv workflows. I have fully adopted uv into my workflows and most of the time I want my coding agents to use uv workflows as well, like when running any Python code or…

mathspp

1314 items available