Is there a public version of the user_cache_dir function?

I am working on an application that stores cache files. I would like to do this in the proper directories and thus have a need for a function just like pip._internal.utils.appdirs.user_cache_dir. Is there any chance that this can be exposed to a public interface? Or is there a public function available that I missed? It seems like a version of this should go into the standard library os package or similar.

Thank you for any pointers.

There is a package called appdirs. The module you mentioned is based on it.

1 Like

Perfect. Thanks a lot.

1 Like