BLOG
All articles by Peter Baumgartner
Choosing a Django Version
One of the first things you need to do when starting a new Django project is to choose which version …
High Performance Django Is Free Online
In 2014 Yann Malet and I (with the help of the rest of the team here) wrote a book about …
Distributed Locking in Django
As you start scaling an application out horizontally (adding more servers/instances), you may run into a problem that requires distributed …
Goodconf: A Python Configuration Library
I’ve been working quite a bit lately on streamlining Lincoln Loop’s standard deployment systems. One thorn we’ve always had is …
Python Dependency Locking with pip-tools
Two of the biggest benefits pipenv and poetry are dependency locking and hash checking. Dependency locking means you can specify …
Dissecting a Python Zipapp Built with Shiv
In a previous post, we showed how to use shiv to bundle a Django project into a single file for …
Single-file Python/Django Deployments
This post covers portions of my talk, Containerless Django, from DjangoCon US 2018. Deploying Python has improved significantly since I …
Saying Goodbye to BotBot.me
Our venerable IRC logger, BotBot.me logged its first lines in the summer of 2012 . Since then, it has logged …
Sandboxing Services with Systemd
With Ubuntu 14.04 (Trusty) now a year away from end-of-life, we’ve been planning and performing upgrades for the soon-to-be legacy …
Logging to Systemd's Journal in Python
I’ll be the first to admit that I was skeptical about Systemd and its companion log aggregator Journald, but after …