📜 ⬆️ ⬇️

Small joy python # 5: Dynaconf - managing settings in the project

Some questions in the world of pit-bear development have the magic power to raise whole armies of people, direct them to holy war and force them to throw at each other in heaps of arguments, calculations and pieces of code. Sometimes, when the arguments end, the warring armies quickly move on to combat operations by throwing piles of verbal excrement.


Popular topics include questions:



Today I will try to carefully pick up just one of these magical topics - the question "How to manage configs in a project?".



Obviously, there are plenty of ways to configure a pit program.



There are enough ways, you can choose anything and use it. But progress would stop if people did not try to improve and optimize everything (including what has been working for a long time and with acceptable quality). Hands of enthusiasts finally reached the configs of Python applications.


So dynaconf appeared


The developers were not particularly steamed up with the invention of their cunning approaches and gathered all popular methods of working with settings under one roof at once.



And, of course, on top added a set of buns, which makes life easier in any project.



')

Source: https://habr.com/ru/post/457196/


All Articles