Skip to main content

This package helps handling json files more efficiently and quickly

Project description

Quick Json

This Package will help you deal with json files more quickly and efficiently.

How to Install it?

On Windows:

pip install quickjson

On Linux:

sudo pip3 install quickjson

How to Use it?

Initializing The Package

from quickjson.quickjson import QuickJson

jsonhelper = QuickJson('filename.json') # Provide the Name of the Json File while Initializing

This will initialize QuickJson Class to jsonhelper variable and now you can use it's all functions using the variable.

Reading Data From Json Files

print(jsonhelper.read_json_file())

This will print the contents of json file in the console.

Writing Data to Json FIles

data = {"elite": "john"} # Sample Dictionary

jsohelper.write_json_file(data) # Parsing the dictionary

This will write the dictionary parsed in the json file.

Inserting Element to a List present inside json file

If you want to insert an item to a list present inside json file then use this code

jsonhelper.write_list_json_file('listname', 'element')

This will insert the element into the specific list

For More Information, Visit Documentation.

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

quickjson-0.0.2.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quickjson-0.0.2-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file quickjson-0.0.2.tar.gz.

File metadata

  • Download URL: quickjson-0.0.2.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.5

File hashes

Hashes for quickjson-0.0.2.tar.gz
Algorithm Hash digest
SHA256 b048df6c105e33f0f2525d3e2642072fcd79f6f4deec17aedcc9c1f2bda11efe
MD5 d46dab7f22b2a57bd1f5e8ee3de46f0e
BLAKE2b-256 6bcacf6d86583382a66db5a8c59318386b3c46eac18af118e61324cbb6c9abab

See more details on using hashes here.

File details

Details for the file quickjson-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: quickjson-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.5

File hashes

Hashes for quickjson-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 857578d7990e20bc547a97eab3d4f72a4f1b4445a1f3977b70ecdc2ab3950795
MD5 12b3b9af1249bdccecaa59875ed09016
BLAKE2b-256 2f6a71d17d6167acd12e1935dd3aad6e92bb757dc8767661446a5a66541db570

See more details on using hashes here.

Supported by

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