AppDataManager
Zero-config user data manager - Manage application data like a dictionary, automatically saved to system user directory.
Features
- 🚀 Zero dependencies - Only Python standard library
- 📁 Automatic paths - Auto-saved to system user directory
- 🐍 Pythonic - Dict-like and attribute-like access
- 🔒 Namespace isolation - Multiple apps don't interfere
- ✨ Simple & intuitive - No configuration needed
Installation
pip install AppDataManager
Quick Start
from AppDataManager import AppDataManager
# Create manager
dm = AppDataManager("myapp")
# Dict-style access
dm["config.json"] = '{"theme": "dark"}'
print(dm["config.json"])
# Attribute-style access
dm.setting = "enabled"
print(dm.setting)
# Iterate all data
for key in dm:
print(f"{key}: {dm[key]}")
# Check existence
if "config.json" in dm:
print("Config exists")
# Delete
del dm.setting
# Count
print(f"Total: {len(dm)} files")
Storage Locations
- Windows:
%LOCALAPPDATA%\<namespace> - macOS:
~/Library/Application Support/<namespace> - Linux:
~/.local/share/<namespace>
Release files for AppDataManager 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| appdatamanager-1.0.0.tar.gz | 4.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| appdatamanager-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.1 kB
Release files / appdatamanager-1.0.0.tar.gz
| Download URL | appdatamanager-1.0.0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8234ade3165a49ee030719761f7b2ca8b92d4e57032372b9d92d97c7cdeafcd8
|
|
BLAKE2b-256 checksum How to use checksums |
82aaf899c67070ac086f35ac188e6a6e4899d55071ac7d27dc67c3249b84d17d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.12.0 Windows/11
|
Release files / appdatamanager-1.0.0-py3-none-any.whl
| Download URL | appdatamanager-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7d00f9121667ba26f49171b3cb428d5a0b106858c9005706a3cde4496cccc673
|
|
BLAKE2b-256 checksum How to use checksums |
01207ff85be807ab03b1d232e438381820d0a7ffec6489d2d7629d83fecd51bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.12.0 Windows/11
|