An json manager
Project description
JsonManager
Json Manager for load, write and modify your json data
Made by BOXER
#import module
from json_manager import setup
#setup your files
data = setup({'file_1': {'directory/myfile_1.json'},
'file_2': 'directory/sub_directory/myfile_2.json'})
#print data files
print(data.file_1)
#output : {...}
print(data.file_2)
#output : {...}
#You can access sub_dictionary to
print(data.file_1.my_data)
#output : the value from the key "my_data"
'''Write all files to save data'''
data.write()
#This will rewrite all the files with their new data located in "data".
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
json_manager2_0-1.0.0.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for json_manager2.0-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a54894f89072f176ae1a4b49e2ec933a4e5f0f78f92e3ad942f0c30c2850217e |
|
MD5 | b105e86038a75f12924cb3300d7e6cd1 |
|
BLAKE2b-256 | e587f795afe534cd28ae0d23326922e750af956e0d52bc1a57d7fc23872f7833 |