Skip to content

Welcome to my website 😄¤

Hey, I'm Timothée Mazzucotelli, @pawamoy on GitHub and other platforms. I develop open-source software, primarily Python tools and libraries. I do this full time: I earn my keep through sponsorship from individual users and companies, which is what makes these projects sustainable and gives you a chance to use them. Check out my sponsors page on GitHub.

Read my latest blog posts below or subscribe via RSS.

Sunsetting the Insiders program

In April 2023 I announced the launch of a sponsorware program called Insiders, for mkdocstrings and other projects of mine. After two years and a half, I reached a bit more than a thousand dollar in monthly sponsorships, meaning two goals were completed, the $500 and $1000 goals, and their 20 associated features and projects released to the public. Today I'm sunsetting the Insiders program, for a few reasons listed below.

Playing Steam VR games running on Linux in the Oculus Quest 2 through ALVR (wireless)

A few days ago I was finally able to setup my Linux computer and Oculus Quest 2 to play some Steam VR games wirelessly. It tooks me several attempts over many months, and it was one of the most complicated process I had to discover and follow. So I figured I would share a small step-by-step guide to help others.

Even though the process was painful for me at times, I would like to make it clear that the ALVR and SideQuest teams and their community have nothing to do with that: they are doing an amazing job and I'm very thankful for that.

steam linux alvr quest2

The Insiders journey

This post will embark you on my journey about making a living off my open source projects. I'm still at the beginning of the journey, but there is already a lot to say and I wanted to share my experience. I like the idea of keeping a journal of what I go through, and who knows, maybe it will help or inspire others.

In this post I write a bit about me, but I also provide technical instructions on how to set things up.

the insiders journey

One of the features of mkdocstrings-python is its ability to automatically render cross-references to objects of the documented package in code block signatures.

Adding links to code blocks is possible in HTML, but doing so while preserving Pygments syntax highlighting and Black formatting was not an easy task. This post explains how it works.

adding links to formatted and syntax highlighted code

How to add Alembic migrations to an existing FastAPI + Ormar project

I had trouble adding an ON DELETE CASCADE constraint to foreign keys after they were already created, so here's a small post explaning how I did it. This specific constraint, ON DELETE CASCADE, is not relevant here. This post will help you for any kind of change you want to apply on database already used in production.

add alembic migrations to existing fastapi ormar project

Local HTTP server sending fake files for testing purposes

I have developed a Python client/library for aria2 called aria2p.

To test my code, I spawn aria2c processes to interact with them and see if everything works correctly. I know I could mock the calls, but I feel like actually testing the interaction between my client and aria2c is a better way to ensure my code does its best.

Until recently the test suite fed actual downloads to aria2c (like Linux distributions ISOs, metalinks, magnets, or torrents), but of course the inevitable happened: some URLs broke.

So I decided to go full local. This post describes my attempt at spawning local HTTP servers to serve fake/virtual files efficiently, files that are then fed to aria2c.

local http server fake files testing purposes