platformdirs

A small Python module for determining appropriate platform-specific dirs, e..

Here are some articles that you may find helpful