cli Tales



Count Files v1.4 – new features and finally available on PyPI!

The latest release of this file counting command-line utility has just been released. It is a platform independent (pure Python) package that makes it easy to count files by extension. This version has some useful new features. It was tested in a wide range on environments and, for the first time, it is now available on PyPI, which means you can just pip install it as any other Python package.




New project: yet another [almost pure Python] image optimizer

When you want or need a custom tool and you can’t find it, you have two options: you either buy one (or ask someone to build it for you), or you make your own and do the best you can to make it work for you. This week, I decided to start building my own (almost pure Python) utility to optimize images for the web.

New project: counting files with Python

While working on this website, I had the curiosity to find out how many HTML and image files Pelican was generating behind the scenes. I had no utility at hand to count files recursively through folders and subfolders, so I decided to create my own using Python.