https://github.com/nonebot/nonestorage
Simple library that provides local storage folder detect
https://github.com/nonebot/nonestorage
Last synced: 4 months ago
JSON representation
Simple library that provides local storage folder detect
- Host: GitHub
- URL: https://github.com/nonebot/nonestorage
- Owner: nonebot
- License: mit
- Created: 2024-12-21T06:38:41.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-11-21T12:29:53.000Z (7 months ago)
- Last Synced: 2025-12-26T03:40:01.526Z (6 months ago)
- Language: Python
- Size: 33.2 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NoneStorage
Simple library that provides local storage folder detect
## Usage
```python
from pathlib import Path
from nonestorage import user_data_dir, user_config_dir, user_cache_dir
data_dir: Path = user_data_dir("appname")
config_dir: Path = user_config_dir("appname", roaming=True)
cache_dir: Path = user_cache_dir("appname", roaming=False)
```