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.delete(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.3.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: jsonengine-1.0.3.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.5.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

File hashes

Hashes for jsonengine-1.0.3.tar.gz
Algorithm Hash digest
SHA256 ee4ddac24d2fbf2eaaed4875a4c5661c8741c06855224f610a8b3c840ddd477a
MD5 76184e596aa05e1c702b0a7427f1fa19
BLAKE2b-256 4398000f4a3acc4ff868ad9f09228294d20bb9a2234a1fee0d69c63af46f2647

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jsonengine-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.5.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

File hashes

Hashes for jsonengine-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bb68ca81fa432c8b57515cdb9cce54e91c3ed02af6f7462a0b32d2f6f078ef1a
MD5 cc526a0055d722ca0a7d973f2b04e371
BLAKE2b-256 65466e725308197bf01d5779075f412eab49bb1336c192d971b7a3b543b7ae6b

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