Slowly migrating

I am slowly migrating all the content from http://pieceofpy.com over to this blog. I will be leaving the old site online to preserve content that may be linking to it, but all new posts will happen here.…

Allura - Google Summer of Code 2013

Google Summer of Code is right around the corner. In fact student applications are already open. The Apache Software Foundation has been accepted as one of the mentoring organizations. This is great news for Allura which is part of the ASF Incubator, because we will be eligble to mentor and…

New Year's Python Meme 2012

1. What's the coolest Python application, framework, or library you have discovered in 2012? matplotlib - This library is a python 2D plotting library that creates great figures that you can use to provide a visual representation of many data. You can generate plots, histograms, bar charts, etc. The API…

Pyramid - JSON Serialize Custom Objects

When writing web application that expose an API, at some point we end up needing to serialize our custom objects. We create these objects ourselves and other times we are using third-party libraries. Fortunately the latest Pyramid master has new features that allow you to easily define a serialization protocol…

Working with Pyramid and Ming

As I've been working on Community Cookbook I have encountered some situations using Ming that I am sure many other people have as well. Using Ming as my ODM and I have been very happy with how it is going so I wanted to share with everyone the steps I…

SQLalchemy Cleanup Challenge

Yesterday I found myself writing some very interesting SQLalchemy. The problem is I have a date column in PostgreSQL that is stored as epoch time, so it is just an Interger column. I need to group by year,month and grab the total count of status='A' groups for that…