I finished up section #4 earlier this week which brings the book up to 26 chapters and a little over 200 pages. I have four more chapters planned and then a couple of updates to previous chapters. My goal is to have the book ready for proofing at the end of the month. Then I'll […]
Coverage.py is a 3rd party tool for Python that is used for measuring your code coverage. It was originally created by Ned Batchelder. The term "coverage" in programming circles is typically used to describe the effectiveness of your tests and how much of your code is actually covered by tests. You can use coverage.py with […]
The unittest module now includes a mock submodule as of Python 3.3. It will allow you to replace portions of the system that you are testing with mock objects as well as make assertions about how they were used. A mock object is used for simulating system resources that aren't available in your test environment. […]
This week we welcome James Tauber (@jtauber) as our PyDev of the Week. James is the founder and CEO of Eldarion. He is also the creator and lead developer of Pinax. You can about his many projects on his website. Let's take a few moment to get to know him better. Can you tell us […]
I stumbled across another new library that purports that it is better than Python's datetime module. It is called Pendulum. Pendulum is heavily influenced by Carbon for PHP according to its documentation. These libraries are always interesting, although I am not sure what makes this one better than Arrow or Delorean. There were some comments […]
This week we welcome Ben Bangert as our PyDev of the Week! Ben is the mastermind behind the Pylons project, which was a web framework in Python. It is now known as Pyramid. If you have a moment or two, you should check out Ben's website or his Github profile to see what he's been […]