WeAreDevelopers LIVE Mar 8, 2022

Automagic Configuration in Python

Oliver Bestwalter

Ditch external configuration files and eliminate unnecessary overhead. Discover how to use Python-native singletons to create secure, automagic configurations directly within your codebase.

Pause
Mute Enter Fullscreen
#1 about 8 min

Motivations for automagic configuration in Python development

How small autonomous developer teams establish robust Python configuration patterns.

#2 about 6 min

Performance profiling of namespace lookups in Python

How the mechanics of namespace attribute lookups impact execution speed.

#3 about 6 min

Defining terminology for automagic behavior and configuration

Why distinguishing primary configuration from derived variables clarifies application logic.

#4 about 4 min

Comparing classic configuration files and executable Python

How executable Python configuration scripts outperform static markup data formats.

#5 about 7 min

Navigating the Python module execution and import lifecycle

Why understanding script entry points reveals dynamic module evaluation behavior.

#6 about 2 min

Evaluating object memory references and namespace resolution

How Python allocates object memory bounds and structures internal namespace lookups.

#7 about 3 min

Differentiating simple constants from context-dependent configuration variables

Why environment-aware context checks blur the line between static constants and configurations.

#8 about 5 min

Exploring the inherent mutability of Python built-in attributes

How the mutability of default module attributes permits deep runtime modifications.

#9 about 7 min

Implementing safe configuration classes using singletons and properties

How singleton properties enforce strict production constants while still preserving local testability.

#10 about 6 min

Audience Q&A on monolithic versioning and configuration boundaries

How monolithic repositories and fixed configuration boundaries synchronize complex service deployments.

Matching moments

1:48 min

Evolving native Python architectures beyond Java skeuomorphism

Alvaro Duran Alvaro Duran · World Congress 2024

44 sec

Structuring and separating configuration files for scale

Susanne Bach Ladefoged Hou Susanne Bach Ladefoged Hou · World Congress 2026 Europe

2:58 min

Containerizing applications and externalizing system configuration

Jens Eickmeyer · LIVE

2:04 min

Evaluating the scalable automation advantages of infrastructure as code

Thomas Hartenstein · LIVE

3:23 min

Examining ADK Python configurations and sample class setups

Saoussen Chaabnia Saoussen Chaabnia · Europe 2026 Virtual

4:29 min

Automating delivery pipelines and managing infrastructure via code

Megha Kadur · LIVE

Upcoming sessions on this topic

Open session

World Congress 2026 North America

September 23, 2026 · 10:00–10:30

Stage 1

Making “Works on All Machines” Work for Agent Environments

Michael Irwin

Principal Engineer, Developer Success

Michael Irwin
Open session

World Congress 2026 North America

September 24, 2026 · 10:20–10:50

Stage 3

Reading the Mind of Your NGINX Fleet: A Hybrid Rule + ML Pipeline for NGINX Config Intelligence

Brandon LEE

AI Architect Lead at F5

Brandon LEE
Open session

World Congress 2026 North America

September 24, 2026 · 11:40–11:45

Outdoor Stage

One Environment, N Machines: Deterministic Builds for Humans and Agents

James Bayer, Morgan Helton

James Bayer
Morgan Helton
Open session

World Congress 2026 North America

September 23, 2026 · 15:45–17:45

Stage 8

Docker's Agentic Platform: Sandboxes, MCP, and the Infrastructure of Autonomous Development

Oleg Šelajev

AI and Developer relations at Docker

Oleg Šelajev
Open session

World Congress 2026 North America

September 25, 2026 · 11:00–11:30

Stage 5

Managing GPUs by Just Asking, Infrastructure in the Age of MCP

Jessica Garson Beauchemin

Developer Relations Lead, Community at Runpod

Jessica Garson Beauchemin
Open session

World Congress 2026 North America

September 24, 2026 · 11:00–11:30

Stage 6

Accelerating development and managing agents with the GitHub Copilot app

Christopher Harrison

Senior Developer Advocate, GitHub

Christopher Harrison