Below are some small open source software projects I’ve authored or co-developed. Most of them are released under a BSD-style license. Enjoy!
- scandir is a better directory iterator and faster os.walk() that was included in the Python 3 standard library. Read the full story.
- cdnupload uploads a site’s static files to a CDN with a content-based hash in the filenames.
- dhash is a Python module that calculate a dHash perceptual hash value for an image.
- pybktree is a Python implementation of the BK-tree data structure to allow fast querying of “close” matches.
- graphyte is a small Python library to send data to a Graphite metrics server.
- inih is a tiny INI file parser written in C.
- Protothread.h is my C++ port of Adam Dunkels’ protothread library.
- My ActiveState Python recipes and GitHub Gists.
Geeky historical things
- Symplate is a very simple and fast Python template language.
- fabricate is a simple build tool that automatically finds dependencies.
- MRO maps database rows to objects in web.py.
- nobraces lets you write C with Python-style indentation.
- And a False compiler and interpreter written in ANS Forth.
- Third is a tiny, self-hosting Forth compiler for 8086 DOS (that I wrote when I was a mere hatchling).