I just found this neat Python module called TinyDB. It’s a document based database that is written in pure Python with ~1800(!) lines of code, 40% of which I hear is comments(!!). And there’s full(!!!) test coverage? Which implies that they performed any kind of testing at all? Crazy stuff. In this post I’ll provide a small sample of inserting recipes and querying them.