Deep insights from our research and experience

 screenshot

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 …

Peter Baumgartner

Peter Baumgartner July 22, 2020

 screenshot

User-Generated Themes with Django and CSS Variables

Consider a “white labeled” app where a CMS admin can customize the design of their public-facing dashboard. The developer is …

Kasey Kelly

Kasey Kelly July 14, 2020

 screenshot

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 …

Peter Baumgartner

Peter Baumgartner July 6, 2020

 screenshot

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 …

Peter Baumgartner

Peter Baumgartner July 10, 2019

Cracking Django Password Hashes

Most of the Django projects I work with take advantage of django.contrib.auth. It manages users and groups and is tightly …

Yann Malet

Yann Malet Nov. 2, 2018

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 …

Peter Baumgartner

Peter Baumgartner Sept. 11, 2018

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 …

Peter Baumgartner

Peter Baumgartner July 25, 2018

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 …

Peter Baumgartner

Peter Baumgartner May 24, 2018

Goodbye manage.py

Every Django project starts with a manage.py file in its root. It’s a convenience script that allows you to run …

Peter Baumgartner

Peter Baumgartner April 19, 2018

Using setup.py in Your (Django) Project

A client recently asked me why all the Django projects we create have a setup.py in the root of the …

Peter Baumgartner

Peter Baumgartner Jan. 30, 2018