Best Practices for Working with Configuration in Python Applications
This blog post has been published on the Preferred Networks Tech Blog.
Most computer applications can be configured to behave a certain way, be it via command line flags, environment variables, or configuration files. For you as a software developer, dealing with configuration comes with challenges such as parsing untrusted input, validating it, and accessing it on all layers of your program. Using Python as an example, I want to share some best practices to help you handle configuration safely and effectively, and I hope to convince you that these are reasonable principles to follow in your own code.
See the Preferred Networks Tech Blog for the full text of this blog post.