-
posts
-
Kubernetes Health Checks in Django
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...
-
A Quick Look at the Kubernetes Python Client
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 Stru...
-
Testing Django Views Without Using the Test Client
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 appro...
-
Pickling Objects with Cached Properties
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 return the...
-
New Year’s Python Meme 2014
Since everyone else was doing it I thought I’d write one up too.
What’s the coolest Python application, framework or library you discovered this year?
Luigi: A data processing pipeline framework written by some folks at Spotify. I gave a talk...
-
App Engine Pull Queues and kombu
App Engine provides a pull queue API
for accessing, leasing, and processing tasks outside of App Engine. You might
do this to perform long running tasks that aren’t suited to App Engine’s
infrastructure. Or you might want to use a library or syste...
-
PyCon APAC 2013
PyCon APAC 2013 is over! I want to thank
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.
</assets/images/710/2013-09-14_08.11.0...
-
Google App Engine 1.7.7 pre-release
Note
**Update:** App Engine 1.7.7 final has been released and is available
here: <https://developers.google.com/appengine/downloads>
The App Engine 1.7.7 pre-release SDKs were
released
about a week ago and I finally got around to...
-
Administer WordPress using Django's Admin
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. In fact, I’ve been using
Django at work for over 5 years now and...
-
Mixins and Python
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.
...