Category

Python

1. Documentation (Python: beginner to pro in five steps)

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

Weather Monitoring – Part 1 – with ThingSpeak and Slack Part 2 – This post 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… 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 →

Berry Bot

Recently I got the chance to give a bit of an introduction to python and physical computing on the Raspberry Pi to some kids so I thought a robot would be a fun thing to use as a demonstration. The… Continue Reading →

Weather Monitoring – Part 1 – with ThingSpeak and Slack

Weather Monitoring – Part 1 – This post Weather Monitoring – Part 2 –  Air Quality sensing with Shinyei PPD42NS   Where I live at the moment is very dry and after buying a humidifier I decided to use my… Continue Reading →

© 2024 AndyPi — Powered by WordPress

Theme by Anders NorenUp ↑