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

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

Uploaded Source

Built Distribution

jsonengine-1.0.5-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jsonengine-1.0.5.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for jsonengine-1.0.5.tar.gz
Algorithm Hash digest
SHA256 4b1c04358cc501bbe0f83403884bdd9d1c7ef5e101518b544fcd69309bfc28dd
MD5 7bc6e29eeadf3baf5de0a2112f64f535
BLAKE2b-256 f5bed7124edaf76bffb50f4046ba50d65ca4bd2b7149ccbf7d7a39c957a9991b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jsonengine-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for jsonengine-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 01b6f57af75073d4cb3dc8d6483e7cb341c89ea954e2adec8bcd68877d4d267d
MD5 cc58e74f6e1202fe25f15ef9a6e47ee1
BLAKE2b-256 4bdf8218c7b667b812a55f6bd451581bb0dd928dc38bcfc72a0fba103126e36e

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