Stop writing configuration files. Learn a Python-native approach that makes configuration safe, testable, and nearly invisible for your team.
#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.
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
All the videos of Halfstack London 2024!Last month was Halfstack London, a conference about the web, JavaScript and half a dozen other things. We were there to deliver a talk, but also to record all the sessions and we're happy to share them with you. It took a bit as we had to wait for th...
Benedikt Bischof
Python Basics2021 was a year of celebration for one of the most popular programming languages (according to Stack Overflow) as it turned 30. We are talking about Python of course.Its story begins in 1989 around Christmas and Guido van Rossum thought about a holid...
Alan Smithee
GitHub Copilot: Beyond the Basics – 10 Ways to Elevate Your CodingWelcome to an in-depth exploration of GitHub Copilot and its capabilities. If you're a software developer or someone intrigued by AI's potential to revolutionize coding, this post is for you. GitHub Copilot, an AI-powered code completion tool, offers...
Daniel Cranney
Stephan Gillich - Bringing AI EverywhereIn the ever-evolving world of technology, AI continues to be the frontier for innovation and transformation. Stephan Gillich, from the AI Center of Excellence at Intel, dove into the subject in a recent session titled "Bringing AI Everywhere," sheddi...
From learning to earning
Jobs that call for the skills explored in this talk.