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".
Release files for json-manager2.0 1.1.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 | |
|---|---|---|---|
| json_manager2_0-1.1.0.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| json_manager2.0-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.6 kB
Release files / json_manager2_0-1.1.0.tar.gz
| Download URL | json_manager2_0-1.1.0.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fa1d5549efec4e2682512a59d4236cec03a89424683e1cb988642b8357fcae97
|
|
BLAKE2b-256 checksum How to use checksums |
5518c2e7e9b3b11eaf1a80947548fefd3eb5c0083303e7ab23ffb85361183c4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.9
|
Release files / json_manager2.0-1.1.0-py3-none-any.whl
| Download URL | json_manager2.0-1.1.0-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8ab07f6b6535f735d37ce12358dca6618ec255635e21a9ba3ec8cb331a5dfa8a
|
|
BLAKE2b-256 checksum How to use checksums |
7b8d266bf7bf038cfa699e57c2ecd41388c959fbcb586bc19238b7199c594079
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.9
|