Posts tagged with "python"

Report generator for Logstash parse failures

Since quite some I'm using Logstash (actually the whole ELK stack) for collecting, enriching and storing log events from various servers and applications.

read more

Django, MySQL, Time zones and how to fix it

I just stumpled upon an error while customizing the Admin in a new Django project where I first used Django 1.6:

read more

Faking a browser with Mechanize

Some time ago I tried to get the current balance of my prepaid mobile phone plan in order to implement some kind of notification if it is lower than 10 Euro. Unfortunately my ISP doesn't offer any API to get this information automatically, so my first attempt was to send a POST request using cURL to login to the website of my ISP and then parse the HTML to gain the current balance.

read more

"Memory Slots" (or: how to save memory in Python)

I recently sort of locked my workstation while I tried to query a SOAP webservice at work about for 24000 entities. While my request was as simple as "list all entities you know" to the server, its response was heavy, obviously.

read more