This is the library I work on that some open source projects use:
It's got a lot of code that's similar to the book.