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
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.1.0.tar.gz
(4.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file json_manager2_0-1.1.0.tar.gz.
File metadata
- Download URL: json_manager2_0-1.1.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa1d5549efec4e2682512a59d4236cec03a89424683e1cb988642b8357fcae97
|
|
| MD5 |
fa9c38b8d05c61bcdb297fab16b0d6a3
|
|
| BLAKE2b-256 |
5518c2e7e9b3b11eaf1a80947548fefd3eb5c0083303e7ab23ffb85361183c4f
|
File details
Details for the file json_manager2.0-1.1.0-py3-none-any.whl.
File metadata
- Download URL: json_manager2.0-1.1.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ab07f6b6535f735d37ce12358dca6618ec255635e21a9ba3ec8cb331a5dfa8a
|
|
| MD5 |
ba374558b71be44835c4b7adf6ff9cb3
|
|
| BLAKE2b-256 |
7b8d266bf7bf038cfa699e57c2ecd41388c959fbcb586bc19238b7199c594079
|