WordPress Plugins Advanced Search

WordPress is a great system because it is extendible by using plugins. However, the search function within WordPress and their website is very annoying, since you can’t order your search results by plugin rating or most installed, so even if… Continue reading →

Top five reasons why Engineers should use Python (instead of Matlab / MathCAD / Excel)

Before getting into programming, I worked as a Mechanical Engineer in the steel and rail industry. Whilst a lot of engineering inevitably involves boring bits like finance and project management, we do spend a fair amount of time doing mathematical… Continue reading →

Python: beginner to pro in five steps – 1. Documentation

A friend of mine (another Andy!) started playing with Raspberry Pis about a year or so ago, and has set up his own code club to teach local kids. I’ve seen his videos of programmable robotic arms which looked very… Continue reading →

Responding to a Chargify webhook with a python-flask API

It’s cool to be able to interact with publicly available API’s so you can grab weather reports, live travel updates or access your twitter feed. But even better, it’s actually pretty straightforward to create your own API using python and… Continue reading →

Batch rename of filenames in Python

Well it’s Christmas Eve, and I had some free time so I wanted to try out a mini programming project that would be useful. It’s been annoying me (very OCD…) for ages that my MagPi (Raspberry Pi magazine) downloads are… Continue reading →

Errors with sudo apt-get and pip install? Make sure your system time is correct!

Yesterday I started on a new raspberry pi project, and as usual, I burned a fresh version of the latest Raspbian Jessie to my SD card. I usually do this so that when I write up some instructions I know… Continue reading →

What is a Webhook?

A Webhook is kind of the inverse of an web API. Whereas a web API responds to an HTTP request, a webhook makes an HTTP POST to an API endpoint in response to some event. Webhooks have started appearing as… Continue reading →

Weather Monitoring – Part 2 Air Quality sensing with Shinyei PPD42NS

Why measure air quality? For the second part of my Raspberry Pi weather monitor, I wanted to add an air quality sensor. Air quality is big news, not just in places like China and India but also in the UK,… Continue reading →

JSON Parser Online

As I’ve been messing about with coding some apps to interact with APIs I’ve found myself needing to look at the raw JSON output a fair few times, to try and understand what the format of the data is and… Continue reading →

Using AWS lambda to run python scripts instead of local cron

It’s often useful to set certain scripts to run regularly, or in response to some event. There are some websites that help you do this such as Zapier or IFTTT which integrate with other online services. However, they cost money,… Continue reading →

© 2017 AndyPi

Up ↑