def platform_cache_dir():
if LINUX:  <EOL><INDENT>dpath_ = os.environ.get('<STR_LIT>', '<STR_LIT>')<EOL><DEDENT>elif DARWIN:  <EOL><INDENT>dpath_  = '<STR_LIT>'<EOL><DEDENT>elif WIN32:  <EOL><INDENT>dpath_ = os.environ.get('<STR_LIT>', '<STR_LIT>')<EOL><DEDENT>else:  <EOL><INDENT>raise NotImplementedError('<STR_LIT>' % (sys.platform,))<EOL><DEDENT>dpath = normpath(expanduser(dpath_))<EOL>return dpath<EOL>
Returns a directory which should be writable for any application
This should be used for temporary deletable data.

Returns:
    PathLike : path to the cache dir used by the current operating system