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 […]
I am happy to announce my first Udemy course on the Python programming language. It is called Python by Example and is a re-branding of my Python 101 Screencast series. I had originally hoped to keep the name, Python 101 on Udemy, but someone else had already taken it by the time I got my […]
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 […]