Archive

All published posts

2586 posts latest post 2026-10-03
Publishing rhythm
Sep 2026 | 27 posts
Current /carry April 2022
EDC from April 2022
I came across cli from httpie, and it’s packed with great features and ideas. 🥧 HTTPie CLI — modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more.

PyOhio CFP’s

Here are some CFP’s that I used for PyOhio 2022. https://pretalx.com/pyohio-2022/cfp Idea to blog post in minutes - Shorter # Markata is a plugins all the way down static site generator, that covers all the things you need to go from markdown to a blog site out of the box. Since it’s plugins all the way down you can also rip out all the default plugins, and do something completely different with the lifecycle. Lets build a whole blog site in 5 minutes. Add Kedro to your Pandas Workflow - Short # Sometimes python scripts/notebooks take a long time to run, let kedro automatically save your datasets so that you can maintain your production code with ease. Lets take a pipeline with an issue 30 minutes in and solve the issue in 5 mintues.
Check out nbdd0121 and their project wsld. WSL Daemon - Stable X11 connection and time synchronisation for WSL2
Just starred dunk by darrenburns. It’s an exciting project with a lot to offer. Prettier git diffs in the terminal 🎨
If you’re into interesting projects, don’t miss out on dagger, created by dagger. An engine to run your pipelines in containers
Gramformer by PrithivirajDamodaran is a game-changer in its space. Excited to see how it evolves. A framework for detecting, highlighting and correcting grammatical errors on natural language text. Created by Prithiviraj Damodaran. Open to pull requests and other forms of collaboration.
I like WaylonWalker’s project markata. A plugins all the way down static site generator written in python. Plugins all the way down means that you can completely change the behavior of how it works by swapping plugins, installing new ones, or creating your own all in python.
I came across awesome-tuis from rothgar, and it’s packed with great features and ideas. List of projects that provide terminal user interfaces
I’m really excited about dirty-equals, an amazing project by samuelcolvin. It’s worth exploring! Doing dirty (but extremely useful) things with equals.
If you’re into interesting projects, don’t miss out on pjs, created by bashbunni. A basic CLI for regularly updating your project’s status
Just starred nvim-terminal.lua by norcalli. It’s an exciting project with a lot to offer. A high performance filetype mode for Neovim which leverages conceal and highlights your buffer with the correct color codes.
I’m really excited about kondo, an amazing project by tbillington. It’s worth exploring! Cleans dependencies and build artifacts from your projects.
Check out snapdrop by SnapDrop. It’s a well-crafted project with great potential. A Progressive Web App for local file sharing
I like mizlan’s project iswap.nvim. Interactively select and swap function arguments, list elements, and much more. Powered by tree-sitter.
If you’re into interesting projects, don’t miss out on jupyterlite, created by jupyterlite. Wasm powered Jupyter running in the browser 💡
I’m really excited about nbterm, an amazing project by davidbrochart. It’s worth exploring! Jupyter Notebooks in the terminal.
If you’re into interesting projects, don’t miss out on dynaconf, created by dynaconf. Configuration Management for Python ⚙

functools.total_ordering makes adding all of six of the rich comparison operators to your custom classes much easier, and more likely that you remember all of them.

From the Docs: The class must define one of __lt__(), __le__(), __gt__(), or __ge__ In addition, the class should supply an __eq__() method.

one of these

  • lt()
  • le()
  • gt()
  • ge()

and required to have this one

  • eq()

Total Ordering Docs

Here is an example using the Enum I was working on the other day.

from enum import Enum, auto
from functools import total_ordering


@total_ordering
class LifeCycle(Enum):

    configure = auto()
    glob = auto()
    load = auto()
    pre_render = auto()
    render = auto()
    post_render = auto()
    save = auto()

    def __lt__(self, other):
        try:
            return self.value < other.value
        except AttributeError:
            return self.value < other

    def __eq__(self, other):
        try:
            return self.value == other.value
        except AttributeError:
            return self.value == other

Check out ipython and their project ipython. Official repository for IPython itself. Other repos in the IPython organization contain things like the website, documentation builds, etc.
Check out sharkdp and their project pastel. A command-line tool to generate, analyze, convert and manipulate colors
If you’re into interesting projects, don’t miss out on asdf, created by asdf-vm. Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more
I came across outputformat from delestro, and it’s packed with great features and ideas. Python library to decorate and beautify strings
pyenv has done a fantastic job with pyenv. Highly recommend taking a look. Simple Python version management
vim-abolish by tpope is a game-changer in its space. Excited to see how it evolves. abolish.vim: Work with several variants of a word at once

Smoother Python with automatic imports | pyflyby

This is not a flaky works half the time kind of plugin, it’s a seriously smooth editing experience. I’ve just started using pyflyby, and it is solid so far. I have automatic imports on every save of a python file in neovim, and automatic imports on every command in ipython. I can’t tell you how pumped I am for this, and how good its felt to use over the past few weeks. It’s glorious. YouTube video # Listen to me rant on how great pyflyby is https://youtu.be/2QW5DJiEJH4 Give the video a watch, I did not have noise-cancelling on in obs. My apologies for the background hum and the mic stand bumps. I did my best to fix them up. Installation # How to install pyflyby for automatic python imports pyflyby is hosted on pypi, so you can get it with pip. I have had no issues installing it on 3.8+ so far. Configuration setup with stow # always stow your dotfiles If you’re going to configure any of your tools the first thing you should do is set it up with stow, seriously don’t sleep on the stow. I…

You must use augroup with autocmd in vim | Here’s how

If you are running vim autocmd’s without a group, you’re killing your performance. Granted your probably not sourcing your vimscript files with autocmd’s too often, but every time you source that vimscript you are adding another command that needs to run redundantly. https://youtu.be/2ITTn4Dl0lc This is what I had # Not silky smooth For WAAY too long I have had something like this in my vimrc or init.vim. It formats my python for me on every save, works great except if I source my dotfiles more than once I start adding how many times black runs. Why is a bare autocmd bad # let me demonstrate Lets create a new file called and give it the. Works great, it starts telling me that its formatting. BUT as every time I give it the it formats an extra time on every single save. Setting up an augroup # I’ve been told I need an to prevent duplicates. So I did it, and nothing changes, it still ran as many times as it was sources on every save. Clearing out the augroup # What you need to do is clea…

Code Review from the comfort of vim | Diffurcate

I often review Pull requests from the browser as it just makes it so easy to see the diffs and navigate through them, but there comes a time when the diffs get really big and hard to follow. That’s when its time to bring in the comforts of vim. https://youtu.be/5NKaZFavM0E Plugins needed # This all stems from the great plugin by AndrewRadev. It breaks a down into a project. So rather than poping into a pager from git diff, you can pipe to diffurcate and it will setup a project in a tmp directory for you and you can browse this project just like any other except it’s just a diff. My aliases # First to quickly checkout PR’s from azure devops I have setup an alias to fuzzy select a pr and let the command do the checkout. Next I have a few aliases setup for checking diffs. The first one checks what is staged vs the current branch, the others check the current branch vs main or master. Links # diffurcte.vim

Setup a yaml schema | yamlls for a silky smooth setup

I’ve gone far too long without a good setup for editing yaml files, I am missing out on autocomplete and proper diagnostics. This ends today as I setup yaml-language-server in neovim. https://youtu.be/xo4HrFoKF4c The video for this one is part of a challenge-playlist I put out for myself to constantly improve my dotfiles for all of December. init.vim # I have my setup to only source other modules, if you want everything in a single config, feel free to do as you wish. I broke mine up earlier this year as I doubled into nvim and am not going back. Plugin setup # You will need the following plugins. I use plug, if you don’t you will have to convert the syntax over to the plugin manager you use. neovim/nvim-lspconfig is for configuring the lsp. It comes with a bunch of sane defaults for most servers, so you pretty much just have to call setup on that server unless you want to change the defaults. hrsh7th/nvim-cmp is what I use for autocomplete. If you are using something else you might ne…