This package is a modified sindresorhus/env-paths from nodejs for python.
Returns the directory where the cache is located. This is different for each os.
$ pip install env-paths
from env_paths import env_paths
paths = env_paths('MyApp')
paths.data
# => '/home/atu4403/.local/share/MyApp-python'
paths.config
# => '/home/atu4403/.config/MyApp-python'MIT © atu4403