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