Better Unit Tests with Nose

Unit testing! We all love it, and we all do it, right? Of course we do. But wouldn't it be much more satisfying if we could write tests more easily, quickly see what code still needs testing, and keep a record of these tests? Using nose to run your Python tests helps with all ...

Continue reading

Faster SQLAlchemy with Memcached

SQLAlchemy provides a great Pythonic way of interacting with SQL, however it does introduce some overheads which can slow down your application, especially if you're used to the speed of raw SQL. Read on to see how I was able to combine SQLAlchemy and Memcached to retrieve up-to-date results quickly.

Background

Very shortly I ...

Continue reading

Yearly archives