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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: json_manager2_0-1.0.4.2.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.2.tar.gz
Algorithm Hash digest
SHA256 627f8eb0d4403e54d30e2f876aa6a49070c020745f1a14ff6c3f8ed0ccc88e30
MD5 aed2bc7dd77bc3f394638c66057880d4
BLAKE2b-256 cda2e7a6828b107185adbd060673d5d0aa02c3f2567ff6a09659484c0d66baa6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for json_manager2.0-1.0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b906d631f027abd5c5da560e9edb9a2f89602746fa4bb1968ed9792f1e648bc7
MD5 7793e7667ddd1ee4b911107336763043
BLAKE2b-256 2a6f7b362b57c9b4fa6f5bd270afabb8284cb58e2d2b9b43992a89a980131033

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