Tag Archives: python

Folium Lines and Markers

I was asked recently about adding multiple custom lines and markers to a Folium map. Folium can be a bit funny about the order in which things are applied so below gives an example of how you can later lines and markers. To make it easier to see which elements are which in the final… Read More »


JSON is a common format for sending data to and from a RESTful API. In this post we’ll see how we can allow a simple Flask API to receive a JSON input. This post extends my previous post which made a simple Flask RESTful API and uses the Flask ‘get_json()’ method to accept JSON input.… Read More »

Use Tox With Anaconda

Tox is a tool for building and running a matrix of test environments. This is useful when, for example, you need to support several different versions of python. You don’t want to have to manually run tests againsts each of your supported versions. This post shows you how you can use tox with anaconda. If,… Read More »