Archive - Page 4

8th of March, 2021

Control the Rainbow HAT from the web

Make a web app that controls your Raspberry Pi! All you’ll need is Python.

Pimoroni’s Rainbow HAT lets you display text, lights and sound on your Raspberry Pi. I’ll show you how to write a Python program to control it from a web page, using Anvil.

26th of February 2021

Getting Photos from Mars with Python

Get images from space, with NASA’s API!

Everyone’s waiting on the next photos from Perseverance, NASA’s latest Mars rover. I’ll show you how to use NASA’s API to get the latest images, as soon as they arrive - and send them straight to your inbox!

23rd of February 2021

A Lazy Loading Module

Here’s a Python challenge: I’ve got data. I use in many places. I only want to load it once. And I don’t want to load it until I need it. How can I make that slick?

Well, since Python 3.7, modules can have a __getattr__ function! Let’s create a module with attributes that only load when we access them.

1st of February 2021

12 Reasons to Use Python for Front-End Web Development

What would web development look like if it were 100% Python - even the front end?

A lot better, that’s what! Here are 12 reasons why pure-Python web development is better than wrestling with JS, HTML, CSS and dozens of frameworks.

19th Jan 2021

When's My Baby Due? Ask the Data!

While I’m waiting somewhat impatiently for my baby to put in an appearance, I’ve been delving into the statistics of due dates.

Let’s explore the science of pregnancy and plot some probability distributions with Python!

12th January 2020

New: SAML Authentication

Anvil now supports logging into your apps with a SAML identity!

SAML is a Single Sign-On protocol commonly used in corporate environments. If you use Active Directory, Okta, OneLogin, Auth0, or basically any other SSO system, you’ll be able to log into your apps with this service.

31st December 2020

The Best of Anvil: 2020

It’s been a busy year at Anvil. We’ve released more product improvements, features, tutorials, documentation and example apps than ever before!

We know it’s hard to keep up, so here are all the best bits from Anvil in 2020.

26th December 2020

Anvil Advent Calendar Bonus App!

We might have gotten a little carried away - here’s one more festive web app for you to enjoy!

Have one final app to play with as you contemplate what to do with all that leftover turkey…

24th December 2020

Anvil Advent Calendar Roundup

The last door of the Anvil Advent Calendar has opened! We built 24 web apps – one each day until Christmas – with nothing but Python.

Grab a mince pie, get cosy, and look through our final batch of festive web apps.

18th December 2020

Only 7 More Apps Until Christmas

Seven sleeps to Christmas means seven more Python web apps! Take a look at some of the best of our Advent Calendar so far.
17th December 2020

Hanukkah at Anvil - All Eight Apps, Assemble!

A look back at the apps we created for our celebration of Hanukkah at Anvil - including the electric menorah of our dreams, a decisive answer to what the best latke topping is, and custom ugly jumpers for the holiday season.
10th December 2020

Celebrating Hanukkah at Anvil

Not only that, we’re building a Python web app for each night of Hanukkah. Appy Holidays!