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
Metadata
Release files for env-paths 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| env_paths-1.0.1.tar.gz | 2.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| env_paths-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.4 kB
Release files / env_paths-1.0.1.tar.gz
| Download URL | env_paths-1.0.1.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4774d97736101d786c0596825391c13ceb90be7ec834e1ba6a21a54780b63f08
|
|
BLAKE2b-256 checksum How to use checksums |
d3bf60b0ef49e6780d1ca938b81f7ceaa07c19a95bd69a7b85ee82a2fed97b9e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.8.6 Darwin/18.7.0
|
Release files / env_paths-1.0.1-py3-none-any.whl
| Download URL | env_paths-1.0.1-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4f2151454399ed779b91fa2f05110f1fc0def997f03bd010015ad936e5810a72
|
|
BLAKE2b-256 checksum How to use checksums |
c1c4f45ab600a9cb87624fca5bed36f8c6fd0249d06432ad8162d253e386c42b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.8.6 Darwin/18.7.0
|
Security for env-paths 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.