Oliver Bestwalter
Automagic Configuration in Python
#1about 6 minutes
An introduction from an in-house developer's perspective
The speaker shares his background working in small, autonomous teams and how that experience shaped his approach to software configuration.
#2about 7 minutes
Adopting a philosophy of configuration without configuration files
The talk focuses on solving configuration for internal systems by leveraging Python's internals rather than focusing on performance or complex code.
#3about 5 minutes
Redefining the blurry line between configuration and constants
Configuration is defined not as a variable or a true constant, but as a value derived from the environment that remains fixed after startup.
#4about 4 minutes
Practical examples of using Python for configuration
Classic configuration files are often unnecessary for internal Python projects, as demonstrated by tools like Sphinx, Plotly, and Nox.
#5about 6 minutes
How Python's module execution and import model works
Code at the module level executes during import, and the execution path differs when running a file as a script versus importing it as a module.
#6about 10 minutes
Exploring the mutability of Python constants and attributes
Most "constants" in Python, including system attributes, can be modified at runtime, highlighting the need for patterns that enforce immutability.
#7about 6 minutes
Implementing a testable singleton with read-only properties
A singleton class using the @property decorator provides a sweet spot for creating dynamic, read-only configuration values that are easily testable.
#8about 6 minutes
Q&A on versioning, runtime changes, and common mistakes
The speaker answers audience questions about version handling in a monorepo, why configuration shouldn't change at runtime, and potential pitfalls of these patterns.
Related jobs
Jobs that call for the skills explored in this talk.
Power Plus Communications
Mannheim, Germany
Intermediate
Senior
Python
Automated Testing
+1
ROSEN Technology and Research Center GmbH
Osnabrück, Germany
Intermediate
Python
Docker
+2
Matching moments
01:22 MIN
Automating with IaC and configuration management tools
#90DaysOfDevOps - The DevOps Learning Journey
03:24 MIN
Key benefits of adopting an IaC approach
Building Applications with Infrastructure as Code
01:26 MIN
Defending the large default Django settings file
Is Django too Complicated?
01:46 MIN
Proposing new patterns for enterprise Python development
Enterprise Python: Software That Lives Long And Prosper
03:29 MIN
Moving from the cloud console to infrastructure as code
Building Applications with Infrastructure as Code
02:44 MIN
Automating boilerplate code to ship products faster
Coffee with Developers - Dan Mindru - Product Marketing for Developers
03:42 MIN
Adopting infrastructure as code for network configurations
How Cisco embraced a DevOps culture within its network engineering team
04:21 MIN
Automating infrastructure with AWS CDK templates
The Road to MLOps: How Verivox Transitioned to AWS
Featured Partners
Related Videos
Python: Behind the Scenes
Diana Gastrin
Overview of Machine Learning in Python
Adrian Schmitt
Is Django too Complicated?
Daniel Hepper
Anvil: Full Stack Web Apps With Nothing But Python
Meredydd Luff
Full Stack Web Apps With Nothing But Python
Eli Holderness
Pointers? In My Python? It's More Likely Than You Think
Eli Holderness
Concurrency in Python
Fabian Schindler
Python-Based Data Streaming Pipelines Within Minutes
Bobur Umurzokov
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

Cover Genius
Amsterdam, Netherlands
Remote
Intermediate
API
Python
Configuration Management
Scripting (Bash/Python/Go/Ruby)

Cover Genius
Amsterdam, Netherlands
Remote
Intermediate
API
Python
Scripting (Bash/Python/Go/Ruby)



Korn Ferry
Charing Cross, United Kingdom
Remote
£104-117K
Python
Configuration Management
Scripting (Bash/Python/Go/Ruby)




The Trust
Cambridge, United Kingdom
Remote
Intermediate
Linux
Python
PyTorch
TensorFlow
+3