Category

Python

Raspberry Pi SMS to email gateway – Part 4

In this final part, we’ll complete the gateway by setting up our relay to send an sms by sending an email. 1. Setup DNS and Mailgun I part 3 we already partially setup mailgun, but now you’ll need to add… Continue reading →

Mining Monero XMR Crypto Currency on Raspberry Pi

I’ve got a Pi 3 that’s hanging around doing nothing so I thought I would try and use it to mine some cryptocurrency, mostly for a bit of fun – I’m not sure I will make much money from it!… Continue reading →

Raspberry Pi SMS to email gateway – Part 3

This is part 3 of our series in building an SMS to email gateway. Now we’re setup with the hardware tested and working, it’s time to write some python code for receiving an SMS and forwarding it to an email… Continue reading →

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 →

© 2017 AndyPi

Up ↑