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

Uploaded Source

Built Distribution

json_manager2.0-1.0.4-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: json_manager2_0-1.0.4.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

Hashes for json_manager2_0-1.0.4.tar.gz
Algorithm Hash digest
SHA256 cf5a5e22909cc5f909bef70e0962d8d6fdddbec01197fafd3c5c88daeca025a0
MD5 85caeeff1ecd9fa1cf7e604df4034797
BLAKE2b-256 0326bc626028a59ef7a89eb6d06dbc48c853717f559badc99db36d9ef9ffc460

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for json_manager2.0-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5fdf1b597b4fc1fe48152536b6931433fe4a6cd6bafea5ab7705f46f8616bb1a
MD5 2c198cc336ca5bb56c069e1362effa66
BLAKE2b-256 cd0357d3481963391529a4bca22287aa392eda9fe93e48fc7b842ce637ec68ac

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