Read my book

I wrote books about Webpack and React. Check them out!

Thursday, February 11, 2010

Status Update + "Python Testing: Beginner's Guide" Preview

I just started at my new job last week so it has been a little hectic lately. Nevertheless I did manage to work on Pynu (the graph library) a bit. I decided to revamp the whole API and come up with some extended functionality. I suppose it will take a while till I'm confident enough to release it. The new version will contain at least jQueryish selectors (no more "find", just ('expression')) and more graph variants.

Django Navigation

I also managed to get some work done on an old Django project of mine that I originally wrote during a university project. The basic idea is that the component takes care of constructing the navigation (UI + urls) based on a given YAML definition. It also supports i18n well so it allows you to translate your urls automagically. All in all it's quite a simple piece of code. It has proven extremely handy for prototyping purposes, however. Fortunately the code has been licensed under BSD so sharing it won't be a problem. I still have quite a bit of clean up to do but it's coming along nicely. I might even find some use for Pynu there. :)

Book Preview

I received somewhat interesting email a day ago. I got asked to review Python Testing: Beginner's Guide by Packt Publishing. The firm is known for its technical books mostly related to open source technologies.

I haven't seen too many testing books around that focus particularly on Python so you can bet I'm thrilled. Based on its table of contents it seems to contain a heap of interesting material ranging from test-driven development to automated testing. Better yet the approach seems to be somewhat practical so points for that.

The book seems to use the standard unit testing framework in its examples. Although I'm used to py.test that probably won't be much of a problem. Perhaps I will figure out why people tend to use the standard solution instead. Okay, perhaps being the standard solution has something to do with it. :)

If you are interested in the book and can't wait till my review, be sure to check out the free chapter. They even have the book code available here. If you happen to have some specific ideas, questions, what-not about the book, feel free to comment and I will look into it during the review process.