Skip to main content

A package for a python JSON database CRUD engine

Project description

JSON Engine

please refer to https://pypi.org/project/jsonengine/ for the python package

and please refer to https://github.com/youhengzhou/json-crud-engine for the repo

Download Package

py -m pip install jsonengine -U

In Your Python Files

import jsonengine.main as eng

Commands

Create command:

eng.create(dictionary, path) This will create a JSON dictionary in the path

Retrieve command:

eng.retrieve(path) This will retrieve the JSON dictionary in the path

Update command:

eng.update(dictionary, path) This will update a JSON dictionary in the path

Update in this case means replacing the dictionary in its entirety with a new one

Update (with key value) command:

eng.update_kv(key, value, path) This will update a key value pair in the JSON dictionary in the path

Update in this case means replacing the dictionary with the key value pair

Patch command:

eng.patch(dictionary, path) This will patch a JSON dictionary in the path

Patch in this case means keeping the JSON dictionary in the path and appending to the dictionary

Patch (with key value) command:

eng.patch_kv(dictionary, path) This will patch a key value pair in the JSON dictionary in the path

Patch in this case means keeping the dictionary and appending the new key value pair

Delete command:

eng.create(path)

This will delete the JSON dictionary in the path

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

jsonengine-1.0.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

jsonengine-1.0.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file jsonengine-1.0.0.tar.gz.

File metadata

  • Download URL: jsonengine-1.0.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.1 requests/2.26.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/2.7.15

File hashes

Hashes for jsonengine-1.0.0.tar.gz
Algorithm Hash digest
SHA256 73aadc0bfdcc76dc7daca87219647a983139be4a4fc15b09cd70111230f09baf
MD5 d66b4a89cbaf06ad66289a8d7e0d60fc
BLAKE2b-256 eac854a55c99ada2ed088a3651d674fc9e020038a4fe17d356b77836970b698c

See more details on using hashes here.

File details

Details for the file jsonengine-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: jsonengine-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.1 requests/2.26.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/2.7.15

File hashes

Hashes for jsonengine-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fcc587849e31ed62aa486ce5a19921c771bfb81590df2b6cf79c5bdd3de30dac
MD5 7abcaf52ac38bbe7f38fb58955eaad07
BLAKE2b-256 2638f3e7f034ef19b1bbc962b80b44586b8af3d6b435c437bb7b5a77d07c3aad

See more details on using hashes here.

Supported by

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