Category Archives: PythonAnywhere

Parsing website SSL certificates in Python

9 December 2016

A kindly PythonAnywhere user dropped us a line today to point out that StartCom and WoSign’s SSL certificates are no longer going to be supported in Chrome, Firefox and Safari. I wanted to email all of our customers who were using certificates provided by those organisations. We have all of the domains we host stored […]

A fun bug

28 March 2014

While I’m plugging the memory leaks in my epoll-based C reverse proxy, I thought I might share an interesting bug we found today on PythonAnywhere. The following is the bug report I posted to our forums. So, here’s what was happening. Each web app someone has on PythonAnywhere runs on a backend server. We have […]

SNI-based reverse proxying with Go(lang)

18 July 2013

Short version for readers who know all about this kind of stuff: we build a simple reverse-proxy server in Go that load-balances HTTP requests using the Hosts header and HTTPS using the SNIs from the client handshake. Backends are selected per-host from sets stored in a redis database. It works pretty well but we won’t […]

How many Python programmers are there in the world?

24 June 2013

We’ve been talking to some people recently who really wanted to know what the potential market size was for PythonAnywhere, our Python Platform-as-a-Service and cloud-based IDE. There are a bunch of different ways to look at that, but the most obvious starting point is, “how many people are coding Python?” This blog post is an […]

Running Django unit tests on PythonAnywhere

21 May 2012

I was working on a side project today, a Django app hosted at PythonAnywhere. While writing some initial unit tests, I discovered a confusing bug. When you try to run the tests for your app, you get an error message creating the database (for the avoidance of doubt, USERNAME was my PA username): 18:57 ~/somewhere […]

PythonAnywhereAnywhere

27 February 2012

We recently added something cool to PythonAnywhere, our Python online IDE and web hosting environment — if you’re writing a tutorial, or anything else where you’d find a Python console useful in a web page, you can use one of ours! Check it out: What’s particularly cool about these consoles (apart from the fact that […]