Returns the directory where the cache is located. This is different for each os.
Project description
env-paths
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.
Install
$ pip install env-paths
Usage
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'
Related
License
MIT © atu4403
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
env_paths-1.0.1.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for env_paths-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f2151454399ed779b91fa2f05110f1fc0def997f03bd010015ad936e5810a72 |
|
MD5 | 044b416bee59b82b94b25372d60969e0 |
|
BLAKE2b-256 | c1c4f45ab600a9cb87624fca5bed36f8c6fd0249d06432ad8162d253e386c42b |