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 Β· WWC 2024

44 sec

Structuring and separating configuration files for scale

Susanne Bach Ladefoged Hou Susanne Bach Ladefoged Hou Β· WWC Europe 2026

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

When Humans Stop Writing Code: Rethinking Languages, Compilers, and Responsibility

Simon Auer

Organizer of flutter vienna meetup and CEO of marqably

Simon Auer
Open session

World Congress 2026 North America

Give the Agent a Budget, Not a Token

Sachin Malhotra

MTS @Anthropic

Sachin Malhotra
Open session

World Congress 2026 North America

MicroAgents: The Microservices of the Agentic Era

Ashish Shubham

Runs the show bussiness at ThoughtSpot

Ashish Shubham
Open session

World Congress 2026 North America

You Can’t Re-Run Sunlight: Designing ML Data Architectures for Physical AI

An Phan

Senior Data Infrastructure Engineer @ Hippo Harvest

An Phan
Open session

World Congress 2026 North America

One Repo, One Strategy: Scalable Full-Stack Testing in a Monorepo World

Bartosz Leczycki, PaweΕ‚ Matynia

Bartosz Leczycki
PaweΕ‚ Matynia
Open session

World Congress 2026 North America

It’s Alive! Taming the MLOps Franken-Stack: Write, Run, and Serve with Michelangelo

Paul Zimmerman, Eric Wang

Paul Zimmerman
Eric Wang