$XDG_CACHE_HOME read/write files
Project description
Installation
$ [sudo] pip install xdg-cache
Examples
>>> import xdg_cache
>>> xdg_cache.write("key",'value')
>>> xdg_cache.read("key")
'value'
>>> xdg_cache.path("key")
'~/.cache/key'
>>> xdg_cache.exists("key")
True
>>> xdg_cache.rm("key")
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
xdg-cache-2020.12.3.tar.gz
(1.5 kB
view hashes)