The Case for a Data Science Lab

By Mark Sellors, Technical Architect – Mango Solutions As more and more Data Science moves from individuals working alone, with small data sets on their laptops, to more productionised, or analytically mature settings, an increasing number of restrictions are being placed on Data Scientists in the workplace. Perhaps, your organisation has standardised on a particular […]

Read More

Matplotlib Plotting Cookbook Review

Here is my review I was given a copy of Matplotlib Plotting Cookbook by Alexandre Devert and asked to review it. Thanks PACKT! Here is my review. Preface But first, I’ll mention I’ve worked on two projects recently that involved rendering matplotlib graphs directly to the browser i.e. via content-type: image/png. This is fun! It’s […]

Read More

Pillow 2-3-0 is Out

Pillow is the friendly PIL fork by Alex Clark and Contributors. PIL is the Python Imaging Library by Fredrik Lundh and Contributors Since Pillow 2.0, the Pillow Team has adopted a quarterly release cycle; as such, Pillow 2.3.0 has just been released. Here’s what’s new in this release: 2.3.0 (2014-01-01) Stop leaking filename parameter passed […]

Read More

Pillow 2.2.1 Released

Pillow is the “friendly” PIL fork. PIL is the Python Imaging Library. Note An earlier version of this entry was published yesterday with the wrong date. Apologies for any annoyance or confusion. The Pillow 2.2.1 source distribution is now available on PyPI, featuring over 30 documented bug fixes and enhancements since 2.1.0 was released 3 […]

Read More

Requests 2.0

Every now and then the Requests project gets bored of fixing bugs and decides to break a whole ton of your code. But it doesn’t look good when we put it like that, so instead we call it a ‘major release’ and sell it as being full of shiny new features. Unfortunately it turns out […]

Read More

Python Requests And Proxies

One of Requests’ most popular features is its simple proxying support. HTTP as a protocol has very well-defined semantics for dealing with proxies, and this has lead to widespread deployment of HTTP proxies. The vast majority of these proxies are ‘transparent’: that is, they sit on the message path and quietly capture HTTP messages before […]

Read More

Caching In Python Requests

I think I’ve made it clear in the past that I think Requests is awesome. At this stage it’s become a mature, feature-filled library that is more than capable of replacing urllib2 and friends in almost every situation you might be interested in. There are very few things that urllib2 can do that Requests can’t […]

Read More

Requests’ Two APIs

Kenneth Reitz’s excellent Requests library has been praised, rightfully, for its excellent API. In fact, its API is so good that it’s been praised in a literary context, as well as by almost every programmer who has come across it. There is no question that this API is one of the best you can find […]

Read More