Ian Lewis
 
May 15, 2017
In a previous post I wrote about Kubernetes health checks. Since I'm a Python developer and a fan, I went about implementing it in Django. Health checks are a great way to help Kubernetes help your app to have high availability, and that include[...]
Dec. 6, 2016
For those of you that don't know there is a new Python API client in the kubernetes-incubator project: client-python. There has been some high quality Python clients like pykube, but client-python can serve as the official Python client. ## The[...]
July 21, 2015
The normal way to test Django views is via the test client. The test client fakes being a wsgi server and actually makes an HTTP request through all of Django’s request routing machinery. There are a number of reasons why this isn’t an ideal app[...]
Dec. 12, 2014
Python descriptors allow you to create properties on python objects that are the result of executing some code. One of the simplest ways of doing that is using the `@property` decorator. Here, accessing the `myprop` will call the method and retu[...]
Jan. 1, 2014
Since everyone else was doing it I thought I'd write one up too.
Nov. 5, 2013
App Engine provides a pull queue API for accessing, leasing, and processing tasks outside of App Engine. I am a fan of Python and so I often use a task queue system called Celery. This system or framework provides a full task queue worker tha[...]
 
Sept. 17, 2013
PyCon APAC 2013 is over! Thanks to everyone who helped make the conference a great success. Staff, speakers, attendees alike all contributed to making PyCon APAC 2013 the best PyCon in Japan ever.
 
April 9, 2013
The App Engine 1.7.7 pre-release SDKs were released about a week ago and I finally got around to taking a look at the source code. The only real addition in the release notes and what caught my eye was the socket API being released as an experim[...]
 
Feb. 11, 2013
I recently came across one feature of Django that seemed pretty useful for one off projects and customizations and was startled because it's one of Django's least mentioned features.
Jan. 15, 2013
Python supports a simple type of multiple inheritance which allows the creation of Mixins. Mixins are a sort of class that is used to "mix in" extra properties and methods into a class. This allows you to create classes in a compositional style.[...]