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 excepted if files have any changement'''
data.write()
#This will rewrite all the files with their new data located in "data".
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
json_manager2_0-1.0.3.tar.gz
(3.7 kB
view details)
Built Distribution
File details
Details for the file json_manager2_0-1.0.3.tar.gz
.
File metadata
- Download URL: json_manager2_0-1.0.3.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 284e17cc54c13a1abd2db80ee39b4063736617185f0201e5e277bb56cc4caec3 |
|
MD5 | d4b826da86db6b4b0f49021be224ec42 |
|
BLAKE2b-256 | a7becedd95d525ce6980e95daf53fb5b81b088baeb9cef903c0adc927811885d |
File details
Details for the file json_manager2.0-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: json_manager2.0-1.0.3-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c589b2617c53a0373f5d43e55a5b74d43cab0047aa86d26017ffca845c295e11 |
|
MD5 | 4c8467094c8e8e985500a5464739084d |
|
BLAKE2b-256 | fd86ba3158bab2eab329b66700eefbebd243a17317780d0122f1280ff682fcc6 |