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 details)
Built Distribution
File details
Details for the file env_paths-1.0.1.tar.gz
.
File metadata
- Download URL: env_paths-1.0.1.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.6 Darwin/18.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4774d97736101d786c0596825391c13ceb90be7ec834e1ba6a21a54780b63f08 |
|
MD5 | 0c3ea851ebc9e96c8b3782786b9e5f8c |
|
BLAKE2b-256 | d3bf60b0ef49e6780d1ca938b81f7ceaa07c19a95bd69a7b85ee82a2fed97b9e |
File details
Details for the file env_paths-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: env_paths-1.0.1-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.6 Darwin/18.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f2151454399ed779b91fa2f05110f1fc0def997f03bd010015ad936e5810a72 |
|
MD5 | 044b416bee59b82b94b25372d60969e0 |
|
BLAKE2b-256 | c1c4f45ab600a9cb87624fca5bed36f8c6fd0249d06432ad8162d253e386c42b |