Python
83 pages ยท RSS feed
- ๐ค
zfs-tenant: Give a friend a quota-capped corner of your ZFS pool for their raw encrypted backups, without giving them a shell. Their keys never leave their house, so you can’t read what they store. ๐พ
- โก
pytest-shm: pytest plugin that puts temporary files on the/dev/shmtmpfs, so test suites that fsync stop waiting on the disk. ๐งช
- ๐
zfs-unlock: Unlock encrypted OpenZFS datasets automatically after every reboot, while the passphrases stay on a separate device (a Raspberry Pi, say) and travel over a restricted SSH channel. ๐
- MindRoom is an open-source system I built that creates AI agents living in Matrix. Because Matrix bridges to Slack, Telegram, Discord, and more, your agents follow you everywhereโwith persistent memory, multi-agent collaboration, and 100+ built-in tool integrations.
- ๐
matrix-mcp: Lets Claude Code, Codex, and other MCP clients read and write Matrix chats, including end-to-end encrypted rooms, so local coding agents can join MindRoom conversations. ๐ฌ
- ๐ต๏ธ
privata: Static checker that finds Python code that looks public but is only used privately, sohelper()becomes_helper()and__all__stays honest. ๐
agent-cligrew from a voice helper into a local AI toolbox with 13 optional extras. Asking users to pick the right extras upfront became impossible, so I switched to runtime optional dependency resolution: commands declare what they need, missing extras are installed automatically in the correct environment, and the command re-runs transparently.- ๐งฎ
trueloc: Count the lines of code you wrote since any date, from your GitHub pull requests and direct commits. It adds up every commit in a PR, so squash merges don’t hide the work. ๐
- ๐ Compose Farm: Run Docker Compose stacks across multiple hosts over plain SSH, with no agents to install. Stacks stay plain folders you can keep in Git, and
cf applymakes the hosts match your config. ๐ณ
- I wanted my AI agents to remember me and read my documents, but existing solutions required complex APIs or opaque databases. After my ambitious AI Journal project hit the wall of local model limitations, I took a different approach: clone LlamaIndex, LangChain, Letta, Mem0, and PydanticAI, study how SOTA systems work, and re-implement the best parts with minimal dependencies and ONNX instead of PyTorch.
- ๐ค
wyoming-mlx-whisper: Wyoming protocol server for near real-time Whisper speech-to-text on Apple Silicon, for use with Home Assistant voice oragent-cli. ๐ - ๐๏ธ
github-backup-sync: Mirror every GitHub repository you have access to into local bare clones, with theghCLI handling authentication. ๐ฝ - ๐ฌ
matty: Matrix chat CLI client where every action (reading threads, replying, reacting) is a single command, which makes it easy to script and easy for AI agents to use. ๐ค
- A personal journey of buying a gaming PC and accidentally falling down the rabbit hole of local, private AI. I share my experience building agent-cli and AIBrain, the tools I used, and the lessons I learned along the way.
- ๐๏ธ
agent-cli: Local-first AI tools for your desktop: voice transcription to the clipboard with a hotkey, autocorrect, text-to-speech, RAG and memory proxies, andagent-cli devfor running coding agents in parallel Git worktrees. ๐ค
- โฌ๏ธ
gh-download: Download files or folders from GitHub repositories, including private ones, using your existingghCLI login. ๐
- Exploring my seemingly hypocritical stance on dependencies: strict minimalism for my libraries, expecting adoption of my own work, yet embracing a wide range of dependencies in applications due to context and isolation.
- Exploring my preference for a functional programming style in Python, utilizing small, focused functions and simple data-holding classes while largely avoiding inheritance, leading to more maintainable and testable code, while still using classes where they make sense for APIs.
- While “vibe coding” can quickly produce working prototypes, my experience shows why it shouldn’t be used for production code without careful human oversight.
- A solution for managing pre-compiled binaries for CLI tools directly in your dotfiles repository, making tools like
zoxide,bat,eza, and more available on any system without installation.
- ๐งฐ
dotbins: Keep CLI tool binaries in your dotfiles, downloaded from GitHub releases for macOS, Linux, and Windows. No package manager or sudo needed. ๐ฆ
- ๐
pixi-to-conda-lock: Convert apixi.lockinto aconda-lock.yml, so you can use the fastpixisolver and still ship aconda-lockfile. ๐ - Clarifying GPL licenses (GPLv2, GPLv3, LGPL, AGPL) and how they affect Python software, including the concept of “linking” in Python through imports.

- A Python package for creating engaging code walkthroughs in your terminal with rich highlighting options and interactive navigation.

- Struggling through Pyenv, Pipenv, venv, Virtualenv, Homebrew, Anaconda, Miniconda, Micromamba, Pixi, and uv
- ๐๐ Advent of Open Source โ Day 24/24: A collection of Home Assistant-related projects, showcasing the power of open source to enhance daily life.

- ๐
tuitorial: Create interactive code tutorials that run in the terminal, with syntax highlighting and step-by-step focus, configured in Python or YAML. ๐ฅ๏ธ
- ๐๐ Advent of Open Source โ Day 23/24: Making efficient Pfaffian computations accessible to Python users with optimized C and FORTRAN under the hood.
- ๐๐ Advent of Open Source โ Day 22/24: Visualizing personal finances with Tiller and Streamlit for better financial independence tracking.

- ๐๐ Advent of Open Source โ Day 21/24: Creating interactive graph visualizations in Jupyter with AnyWidget and a modernized JavaScript library.
- ๐๐ Advent of Open Source โ Day 20/24: Simplifying complex computational workflows with automatic DAG construction and parallelization.

- ๐๐ Advent of Open Source โ Day 19/24: Sharing files directly from the terminal with a simple, zero-dependency utility.

- ๐๐ Advent of Open Source โ Day 18/24: Exploring the language of psychedelic experiences through data science and NLP.

- ๐๐ Advent of Open Source โ Day 17/24: Scaling adaptive sampling to 100,000+ cores with a novel meta-scheduling approach.

- ๐๐ Advent of Open Source โ Day 16/24: Revolutionizing parameter space exploration with adaptive sampling algorithms.
- ๐๐ Advent of Open Source โ Day 15/24: Automating the process of sharing code context with AI assistants.

- ๐๐ Advent of Open Source โ Day 14/24: Combining quantum physics, machine learning, and generative art to create unique PhD thesis covers.

- ๐๐ Advent of Open Source โ Day 13/24: Simplifying Python dependency management across pip, conda, and complex projects.

- ๐๐ Advent of Open Source โ Day 12/24: Automating Instagram posting with random philosophical quotes and emojis, because why not?

- ๐๐ Advent of Open Source โ Day 11/24: Contributing to the backbone of scientific Python through the conda-forge community.

- ๐๐ Advent of Open Source โ Day 10/24: Sharing my extensive Home Assistant setup with 137 automations and counting.

- ๐๐ Advent of Open Source โ Day 09/24: Solving the universal academic headache of inconsistent BibTeX entries.

- ๐๐ Advent of Open Source โ Day 08/24: Transforming a Stream Deck into a powerful, customizable Home Assistant controller.
- ๐๐ Advent of Open Source โ Day 07/24: Solving a common performance pitfall in scientific computing with a tiny yet powerful tool.

- ๐ท๏ธ
calver-auto-release: GitHub Action that creates a release with a Calendar Versioning (CalVer) tag on every commit tomain. ๐ - ๐๐ Advent of Open Source โ Day 06/24: Making scientific research truly reproducible with fully open-source code and data.

- ๐๐ Advent of Open Source โ Day 05/24: Keeping documentation in sync with code by automatically executing and updating Markdown code blocks.

- ๐๐ Advent of Open Source โ Day 04/24: Calculating the path to financial independence with a personalized web app.

- ๐๐ Advent of Open Source โ Day 03/24: Rebuilding a popular backup tool in Python for better reliability and cross-platform compatibility.

- ๐๐ Advent of Open Source โ Day 02/24: Automating home lighting to sync with the sun, making smart homes even smarter.

- ๐๐ Advent of Open Source โ Day 01/24: Visualizing the finite weeks of our lives with a Python project, because who doesn’t need a daily reminder of their mortality?

- ๐
opennb: Open Jupyter notebooks from GitHub repositories or URLs directly in Jupyter. Combined withuvx, the notebook’s dependencies come along too. ๐ - ๐ธ๏ธ
graphviz-anywidget: Interactive Graphviz widget for Jupyter with search, highlighting, and graph traversal, rendered by Graphviz compiled to WebAssembly. Built to visualizepipefuncpipelines. ๐ - ๐
clip-files: Copy all files of a given type in a project to your clipboard, with their paths and a token count, ready to paste into ChatGPT or Claude. ๐ค - ๐ฐ
tiller-streamlit: Streamlit dashboard and JSON API for the personal finance data in a Tiller spreadsheet. ๐ numthreads: Simple Python package to set the number of threads used by OpenBLAS, MKL, OMP, NumExpr, and Accelerate
unidep: Unified Conda and Pip Dependency Management ๐
pipefunc: Lightweight function pipeline creation ๐
- ๐ป
rsync-time-machine.py: Your cross-platform, flexible, and incremental backup solution using rsync, offering Time Machine-style backups with added versatility. ๐ฝ๐. ๐
- WenFire: WebApp visualizing your path to financial independence, built with personalizable assumptions and interactive visualizations. Ignite your journey to early retirement! ๐ธ

- ๐ Adaptive Lighting: Home Assistant custom component for auto-adjusting color temperature and brightness of lights based on daylight. ๐

- ๐ CodeStructure: Extract Python code signatures without execution, providing a clear structure overview. ๐
- ๐ Home Assistant Streamdeck YAML: Control Home Assistant on Stream Deck across all OS with YAML configuration. ๐๏ธ
- ๐ป Markdown Code Runner: Auto-execute code blocks in Markdown files and refresh the output in-place. ๐

- A look at my preferred tools for improving code quality, testing, automation, and documentation in Python projects.

- ๐
calendar-of-life: Plot your life as a grid with one dot per week and one row per year, colored by life stage. Inspired by Kurzgesagt and Tim Urban. โณ
home-assistant-macbook-touch-bar: Displaying sensors and controlling IoT devices using the Macbook Pro’s touch bar ๐ค๐ป
thesis-cover: each unique copy is designed using quantum simulation data, neural networks, machine learning, and Python
- Exploring quantum device simulations, adaptive sampling, and neural networks to create beautiful thesis covers

- ๐ข
pfapack: Efficient numerical computation of the Pfaffian for dense and banded skew-symmetric matrices, packaging the algorithms from arXiv:1102.3440 by Michael Wimmer. ๐งฎ - ๐ฅ๏ธ
slurm-usage: Save SLURM job efficiency metrics to Parquet before SLURM purges them after 30 days, and chart CPU, memory, and node usage per user and group. ๐
adaptive-scheduler: Run simulations adaptively on many cores (>10k) and easily manage starting and restarting usingmpi4py.futures,ipyparallel, ordask-mpi🎉
- Many things in my house are automated using the Python Home Assistant framework. I’ve built some interseting automations and app, see my config files and AppDaemon apps 🏠 🤖

ipynb_git_filters: removeipynb’s output on each commit to keep a clean history. Not very smart but very useful ๐คaiokef: An asyncio Python library that provides an API to communicate KEF speakers ๐
hpc05: a thin wrapper aroundipyparallelto easily start workers remotely on a HPC cluster ๐ฅ
yaml2bib: Convert a readableyamlfile with DOIs only to a properly formatted BibTeX file. ๐
adaptive: tools for adaptive parallel sampling of mathematical functions to speed up simulations by orders of magnitude โ๏ธ
instacron: Instagram for the lazy - automatically upload a photo to Instagram with autogenerated caption containing #hashtags, a quote, and camera information ๐ธ๐
- Tying Quantum Knots. An online course for which I wrote a lot of code. See the course website which is generated using these Jupyter notebooks.

- ๐ค
fileup: Upload and share a file from the terminal withfu myfile.txt; the URL lands in your clipboard and the file can expire automatically. ๐
- ๐ฑ
miflora: Python library for reading moisture, temperature, light, and conductivity from Xiaomi Mi Flora plant sensors over Bluetooth. Originally created underopen-homeautomation; I now maintain it. ๐ก๏ธ
