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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: json_manager2_0-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 67e2561aef968c5464160bbd035ca9e7998bd023da5185640a2fde8b643d6c45
MD5 a75a370ab555814226db311818f2bbaa
BLAKE2b-256 425a6eb7ebbcf7f53fc9ac125a98b3ec1cc4c7fb11f13ee49fe0d0b6888b03cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for json_manager2.0-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6bc8fe2b11055d1dc75143fc9ec5596c0906183b9a32539a9568f263966c9ef5
MD5 1e853ea1f073ec3353ba153739dd9831
BLAKE2b-256 7ce03fbdf25417d53b9818db5fb34deb7a451ef36bb9917f3f4b4d76cc95cc41

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