Bottle: Quick Python Web Apps

Categories python, scripts & stuff, webdev

Typing in “bottle python awesome” into Google doesn’t produce anywhere near as many results as it should. Bottle is an amazingly easy to use, lightweight framework with a very simple template engine, and all the goodies that you’ll want for form handling, cookies and that sort of thing.

It’s not a fully fledged Model-View-Controller (MVC) or Object-Relational (ORM) type framework like Django, Web2Py or Pylons, so it’s not the best choice for large database driven sites; but for small-medium size sites it’s amazing and has pretty much no learning curve. I combined it with blueprint.css and had a reasonable app hacked up and running within an hour of installing (which is super easy – it’s just one 72kB file).