Python

On solving annoying things

The dutch government and other (bigger) organisations seem to have a habit to annoy people. One of the reasons they do so is security by obscurity. It has it’s flaw as shown in this blogpost by @levelsio. He wrote a little script that fetches and forwards all the email, which everyone can do after loggin in with DigiD. As shown, this takes a lot of steps. Automating it can be done with less then 50 lines of code.

3D printing lampshades or any object based on data.

Last week I stayed at Herman’s place for a couple of days. While there we primarily discussed buttons, 3D printers and other nerdy stuff. As it happend I’d look over on his desk and found some test prints for lampshades made of ABS. That got me thinking.. Just a few hours later I was knees deep in code trying to generate something that would look like a 3D model:

Using Moves data for?

In July I wrote a little wrapper for the Moves App API. But I didn’t develop the ideas I had for it any further due to time constraints. But other projects got me into it and I wanted to share what I’m currently building. I’ve drawn the same concept of a fitbit dashboard over to a Moves Dashboard, so we can use the same data. And I’ve got some friends who come up with great ideas too!

A Jawbone API Python library

I’ve been wearing a Jawbone UP for the last few months. There are things I like about it, the app, the sleep interface and the options you have for notifications. Some other things I dislike, the 3.5mm jack for syncing for example… It’s annoying. They have it solved with the next version though.

As with all the other devices that I’ve been wearing I wanted to get the data out of it.

Making sense of your phone invoices

Telephone companies tend to have a lot of data about a user. This data includes some information that could help you decide whether you could pay for another subscription that fits more to your usage. To fix that problem I’ve build a dashboard which uses all the information available trough the invoices my current company (T-mobile) provides in a PDF. (FYI, I got a version running that’s also working with receipts from Vodafone)

A python library for the Moves App API

For Quantified Self starters I recommend the really nice Moves App. The interface is really nice and the battery drain isn’t that bad if you recharge it twice a day. They recently opened up their API enabling developers like me to create apps based on their platform. For me the first step towards creating an app is a easier way to communicate with the API. As with the fitbit, I’ve written a open-source library for you to use!

Infographic van OV-chipkaart data

Ik heb al eerder met de export data van de OV-chipkaart iets gemaakt. Vroeger kon je de locaties van alle stations (inclusief steden en straten) exporteren. Tegenwoordig kan dat niet meer, dus werkte mijn gebouwde app niet meer. De kaart bevat echter teveel waardevolle data die als die op de juiste manier kan worden gerepresenteerd voor inzicht kan zorgen in je gebruik: Heb jij een idee op welke dagen je het meeste reist?

Python library for the FitBit API

My quest of building API wrappers in python continues with the FitBit. The handy devices tracks most of my activities and movements during daytime. So it’s an excellent self-tracking device, especially with the wireless sync. There wasn’t an API interface available in python, so with some borrowed code I decided to build my own. I made an GitHub repository with the code and an example for you to use. Please fork and correct any changes that you think would be useful for me to learn!

Sync Kindle notes and clippings to Evernote

Since I got my Kindle I started reading a lot more books and articles. And one of the nice things you can do is add notes and clip certain pieces of text. The Kindle saves all those things into a text file for easy access, but I wanted those to be searchable as well in my system. I wrote a small python script that extracts all notes and clippings from the text file and creates a new note in Evernote for each of them.

My effort for a better readinglist

I love the Read It Later List service. Each day I save about 20-30 articles from Google Reader or my Twitter client so I can read them later. However, these amounts make it hard for me to process all the things I save. That’s why I need a readinglist that has additional filtering/speed/shortcuts. As my endeavors with Python continue, for the last few months I’ve been developing my own version of the perfect readinglist build upon the API of Read It Later List.