Super Charged Io Dicts
Project description
sio-dict
Super Charged Io Dicts
Installation
pip install sioDict
Features
- OneLayerDict, OneLayerList are auto savable dict/list that supports depth 1
- SioList, SioDict supports infinite nesting with customizable
_save
,_load
and_clear
io methods - variants contain prebuilt sioDict implementations
- functions like
getDeep, setDeep, setDeepSimple
are utility functions that can be used for any dict
Example Usage
from sioDict import SioDict, SioList
d = SioDict(
"test.json",
{"a" : 1},
reset=True
)
d["a"] = {
"b" : 2
}
# expect test.json => {"a": {"b": 2}}
License
MIT
Acknowledgements
- Peter Wendl
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sioDict-0.4.1.tar.gz
(9.7 kB
view hashes)
Built Distribution
sioDict-0.4.1-py3-none-any.whl
(10.8 kB
view hashes)