Ever wanted to know how many visitors you've had to your website? Or wanted to know which pages, articles or downloads are the most popular? If you're self-hosting your blog or website, whether you use Apache, nginx or even IIS (yes, really), lars is here to help. Lars is a web server log toolkit...
structa is a hidden gem. It's one of many great utilities created by Dave Jones. It's a command line tool for analysing JSON files. Sometimes you need to inspect the structure of a large nested JSON file, and it's too unwieldy to work out what kind of data it contains. structa is perfect for...
I was recently introduced to ranger by Dave Jones. It's an incredibly handy terminal based file navigator that's written in Python and is available in Debian, Raspbian and Ubuntu. Ranger allows you to navigate your filesystem using the arrow keys on your keyboard: up/down to select files in the...
While preparing for a workshop last week, my colleague Marc and I started brainstorming ideas. One of the ideas I came up with was to use the mini joystick on a Sense HAT (a sensor board add-on for the Raspberry Pi) to remotely control a robot using GPIO Zero's remote pins feature. I soon...
The title may have given away the article contents, but feel free to read on pretending you don't know the ending. Background: I work for the Raspberry Pi Foundation and I do a lot of Python stuff on Raspberry Pi. I presented this project recently in a lightning talk at EuroPython. Motivation:...
It's been a while since the last GPIO Zero release, so it's with great pleasure I announce v1.4 is here. Upgrade now on your Raspberry Pi: sudo apt update sudo apt install python-gpiozero python3-gpiozero Or on your PC: pip install gpiozero Why on your PC? Run Python code on your PC to remotely...
My review of the Google OnHub router, and some tips on setting up advanced options like port forwarding. While in the US for a trip in October, I decided to pick up a Google OnHub router, which is only available in America, and has since been superseded by Google WiFi, also only available in...
One year ago today, I started the GPIO Zero project. We now have a core team of three (Dave Jones, Andrew Scheller and me). There have been 587 commits, we've released four major versions, and published a book. The library has great coverage of GPIO devices, and contains features I never even...
For about the last 3 years, the de-facto method of accessing physical components via the Raspberry Pi's GPIO pins has been a Python library called RPi.GPIO, created by Ben Croston, who originally built it to control his beer brewing process. Despite its humble beginnings in a personal hobby...