Tag: python
All the articles with the tag "python".

Fish and Python autovenv
I used a plugin for a while to automatically activate and deactivate my Python environments when I change directory. It looks like that's been discontinued. (Fish and autovenv) I took it upon myself to roll my own: ~/.config/fish/conf.d/autovenv.fish function python_venv --on-variable PWD set -l tree (pwd) while test "$tree" != / for myvenv in "$tree/.venv"…

Using Paramiko with SSH Config Including ProxyCommand and Includes
This guide documents how to properly use Paramiko with SSH configurations that include: SSH config include directives ProxyCommand for AWS SSM Session Manager Multiple configuration parameters (hostname, user, identity files, etc.) The Problem Paramiko's SSHConfig.parse() has two key limitations: Does not support include directives - If your ~/.ssh/config has lines like include ./config.d/*.conf, paramiko will…

Building My Own Novel-Writing Assistant
— and Teaching AI My Lore I’ve been developing an application to help with my novel writing. I wanted something that could track characters and chapters—not just where they appear, but also a full codex of style, tone, and continuity data across my story world. The Stack: Familiar Tools, Simple Foundations I built it using…

Cruft
“Cruft” is informal tech-slang for anything that’s left in a system but no longer serves a clear purpose—old code, redundant files, forgotten configuration settings, stale comments, or even obsolete hardware. Over time these remnants accumulate, making software (or an organization’s processes) harder to understand, maintain, or extend. In short, cruft is digital clutter or technical…

Am I a Vibe Coder?
Over the past few months, I’ve transitioned from mostly infrastructure work to building a major web application for my employer. The idea originated from our CEO and was backed by my manager. I developed a proof of concept that got them genuinely excited, and they asked me to take it further—turn it into a full…

Odoo: Sorting fields.Many2one
Updated:Beginning a journey to develop an Odoo application, I came across a hurdle that I found no answer to. Odoo is an ERP product that is Open Source, and is hi

Extracting Formatted Content from MediaWiki
Updated:When extracting content from MediaWiki to transfer into SharePoint - or other knowledgebase system, extracting the raw `wikitext` isn't that helpful. I tra

10GbE SFP+ and a Python3 One Line FTP Server
I've built my cluster and stated doing some network tests using iperf3 . My results were pretty good. But my file transfer speeds pretty bad, by comparison

Multistage Python Container
Updated:When building a python container, I ended up with a huge 450MB image just because I needed it to have psycopg2 . Time to chop it down using a multistage bu

Python3 One Line Web Server
Many times I find myself wanting to spin up a simple test service for a firewall rule. You can bring up a simple web server in Python3 from the command lin