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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: json_manager2_0-1.0.4.1.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.1.tar.gz
Algorithm Hash digest
SHA256 649802a6f2c26b70cab71c2fd7466d5ed9bbd162dddbb4aa3d833fcc72d322f1
MD5 a84d4c985b7c801e170a8dd60d33df51
BLAKE2b-256 ea593324d48e1e2e582236e6d999f8d3e2ed110da8cd077943286d46361a6367

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for json_manager2.0-1.0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 57ffe14d5bbd98ccae694db55ea43b4a46ee50234554d928dcbbb7faface9de9
MD5 e9ba92650a59934cf594b32c2c31743b
BLAKE2b-256 51134cdda21df3d99e60eab1bbff8ab543472908b7e29a83fcb35fd5977dccf4

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