Published

All published posts

2565 posts latest post 2026-07-13 simple view
Publishing rhythm
Jun 2026 | 27 posts
Looking for inspiration? templates [1] by zevaverbach [2]. No description available. References: [1]: https://github.com/zevaverbach/templates [2]: https://github.com/zevaverbach
Check out lukas-reineke [1] and their project cmp-rg [2]. ripgrep source for nvim-cmp References: [1]: https://github.com/lukas-reineke [2]: https://github.com/lukas-reineke/cmp-rg
Check out photoview [1] and their project photoview [2]. Photo gallery for self-hosted [3] personal servers References: [1]: https://github.com/photoview [2]: https://github.com/photoview/photoview [3]: /self-host/
I like mizlan’s [1] project iswap.nvim [2]. Interactively select and swap function arguments, list elements, and much more. Powered by tree-sitter. References: [1]: https://github.com/mizlan [2]: https://github.com/mizlan/iswap.nvim
Check out rhysd [1] and their project conflict-marker.vim [2]. Weapon to fight against conflicts in Vim. References: [1]: https://github.com/rhysd [2]: https://github.com/rhysd/conflict-marker.vim
I like Textualize’s [1] project rich-cli [2]. Rich-cli is a command line toolbox for fancy output in the terminal References: [1]: https://github.com/Textualize [2]: https://github.com/Textualize/rich-cli
If you’re into interesting projects, don’t miss out on jupyterlite [1], created by jupyterlite [2]. Wasm powered Jupyter running in the browser 💡 References: [1]: https://github.com/jupyterlite/jupyterlite [2]: https://github.com/jupyterlite
I’m really excited about nbterm [1], an amazing project by davidbrochart [2]. It’s worth exploring! Jupyter Notebooks in the terminal. References: [1]: https://github.com/davidbrochart/nbterm [2]: https://github.com/davidbrochart
I came across stylish.nvim [1] from sunjon [2], and it’s packed with great features and ideas. Stylish UI components for Neovim References: [1]: https://github.com/sunjon/stylish.nvim [2]: https://github.com/sunjon
If you’re into interesting projects, don’t miss out on dynaconf [1], created by dynaconf [2]. Configuration Management for Python ⚙ References: [1]: https://github.com/dynaconf/dynaconf [2]: https://github.com/dynaconf
Check out neovim-grimoire [1] by alanwsmith [2]. It’s a well-crafted project with great potential. No description available. References: [1]: https://github.com/alanwsmith/neovim-grimoire [2]: https://github.com/alanwsmith

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 [1] and their project ipython [2]. Official repository for IPython itself. Other repos in the IPython organization contain things like the website, documentation builds, etc. References: [1]: https://github.com/ipython [2]: https://github.com/ipython/ipython
Check out sharkdp [1] and their project pastel [2]. A command-line tool to generate, analyze, convert and manipulate colors References: [1]: https://github.com/sharkdp [2]: https://github.com/sharkdp/pastel
If you’re into interesting projects, don’t miss out on asdf [1], created by asdf-vm [2]. Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more References: [1]: https://github.com/asdf-vm/asdf [2]: https://github.com/asdf-vm
I came across outputformat [1] from delestro [2], and it’s packed with great features and ideas. Python library to decorate and beautify strings References: [1]: https://github.com/delestro/outputformat [2]: https://github.com/delestro
pyenv [1] has done a fantastic job with pyenv [2]. Highly recommend taking a look. Simple Python version management References: [1]: https://github.com/pyenv [2]: https://github.com/pyenv/pyenv
pyenv [1] has done a fantastic job with pyenv-installer [2]. Highly recommend taking a look. This tool is used to install pyenv and friends. References: [1]: https://github.com/pyenv [2]: https://github.com/pyenv/pyenv-installer
vim-abolish [1] by tpope [2] is a game-changer in its space. Excited to see how it evolves. abolish.vim: Work with several variants of a word at once References: [1]: https://github.com/tpope/vim-abolish [2]: https://github.com/tpope
I came across Talkpython.fm-Notable-Packages [1] from xandrade [2], and it’s packed with great features and ideas. [unofficial] Talkpython.fm podcast notable PyPI packages compilation References: [1]: https://github.com/xandrade/Talkpython.fm-Notable-Packages [2]: https://github.com/xandrade