Skip to main content

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


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.2.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

json_manager2.0-1.0.2-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file json_manager2_0-1.0.2.tar.gz.

File metadata

  • Download URL: json_manager2_0-1.0.2.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.6

File hashes

Hashes for json_manager2_0-1.0.2.tar.gz
Algorithm Hash digest
SHA256 a315b385f72c400b65fd11ececfc04f3afec38ff597e484ca4396e2cdbc2a7a5
MD5 5bbc99a6a490c9702ad83e6e946718f5
BLAKE2b-256 8525cf6a895e2ca6eaa7c608669a58b65749405a4f94d85a5860e0df9d694b7f

See more details on using hashes here.

File details

Details for the file json_manager2.0-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for json_manager2.0-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e9dd058568092102d72c31570656df42a69f8689a4ee464d578f35ad1d149c30
MD5 06a2c93a003c58f180216b1831b4378e
BLAKE2b-256 11dac63d07e3a9b1c8f9b29820ff50cd91e97ffbf0e1199cdef2e2756330ccd4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page