If you want to create new directories and files, you can either use os or pathlib. However, pathlib’s syntax is more straightforward and easier to understand than os’s syntax.
Simplify Nested Structures with Python Data Classes
Hydra: YAML-Based Config Management Made Simple
Loguru: Configure Professional Logging in a Single Line