Idiomatic Python Resources

Let’s say you’ve just joined my team and want to become an idiomatic Python programmer. Where do you begin? Well, you can move up the learning curve quickly using resources from this blog: Pythonic means idiomatic and tasteful import this: learning the Zen of Python The 3 Best Python Books for Your Team I also … Continue reading Idiomatic Python Resources

The 3 Best Python Books for Your Team

Python is the core programming language used at Parse.ly. It also happens to be a quickly-growing language with wide adoption among open source projects. It’s no wonder it’s quickly becoming the leading language for software teams. I’ve written a couple of blog posts with original material for learning Python, including “import this: learning the Zen … Continue reading The 3 Best Python Books for Your Team

Web interest in Apache Storm, Kafka, Spark in the Python community

Apache Storm, Kafka, and Spark are gaining a lot of momentum in the data analysis and processing communities. I was curious whether the interest in using these technologies with Python, in particular, is growing. Based on these Google Trends reports, it seems like it is.

Clojonic: Pythonic Clojure

In June 2012, I promised myself that I’d learn Clojure “as a mind expander”. As a long-time Python programmer who has been using Python full-time in my work at Parse.ly, I wanted to explore. I wrote then: I don’t know whether Clojure programs will be better or worse than equivalent Python programs. But I know … Continue reading Clojonic: Pythonic Clojure

Python annotations and type-checking

In 2010, the Python core team wrote PEP 3107, which introduced function annotations for Python 3.x. Nearly 4 years ago, I wrote this response to the PEP, but I published it to a discussion site that ended up becoming defunct (Clusterify). I saw that recently, interest in function annotations for type-checking was revived by GvR, … Continue reading Python annotations and type-checking

streamparse: Python + Apache Storm for real-time stream processing

Parse.ly released streamparse today, which lets you run Python code against real-time streams of data by integrating with Apache Storm. We released it for our talk, “Real-time streams & logs with Apache Kafka and Storm” at PyData Silicon Valley 2014. An initial release (0.0.5) was made. It includes a command-line tool, sparse, with the ability … Continue reading streamparse: Python + Apache Storm for real-time stream processing

Functional dynamic dispatch with Python’s new singledispatch decorator in functools

I just read about Python 3.4’s release notes. I found a nice little gem. I didn’t know what “Single Dispatch Functions” were all about. Sounded very abstract. But it’s actually pretty cool, and covered in PEP 443. What’s going on here is that Python has added support for another kind of polymorphism known as “single … Continue reading Functional dynamic dispatch with Python’s new singledispatch decorator in functools

Python double-under, double-wonder

Python has a number of protocols that classes can opt into by implementing one or more “dunder methods”, aka double-underscore methods. Examples include __call__ (make an object behave like a function) or __iter__ (make an object iterable). The choice of wrapping these functions with double-underscores on either side was really just a way of keeping … Continue reading Python double-under, double-wonder

Solidify your Python web skills in two days at PyCon US 2013

PyCon US 2013 is coming up in March. It is in beautiful Santa Clara, right outside of Palo Alto / San Francisco. The main conference is sold out, but there are still a few spots open for the tutorial sessions. (Here’s a secret: the tutorials are where I’ve always learned the most at PyCon.) Most … Continue reading Solidify your Python web skills in two days at PyCon US 2013

Build a web app fast: Python, HTML & JavaScript resources

Wanna build a web app fast? Know a little bit about programming but want to build a modern web app using two well-supported, well-documented, and universally accessible languages? You’ll love these Python, HTML/CSS, and JavaScript resources. I’ve been sharing these documents with friends who ask me, “I want to start programming and build a web … Continue reading Build a web app fast: Python, HTML & JavaScript resources