Skip to main content

A package for a python JSON database CRUD engine

Project description

JSON Engine

This is the lite version of the JSON Engine

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

and please refer to https://github.com/youhengzhou/jsoneng for the repo

Download Package

py -m pip install jsoneng -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

jsoneng-1.0.2.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

jsoneng-1.0.2-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file jsoneng-1.0.2.tar.gz.

File metadata

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

File hashes

Hashes for jsoneng-1.0.2.tar.gz
Algorithm Hash digest
SHA256 78f4de158e659364cb507294c10056b9231f687f8114ed9e1537d733c28608c6
MD5 f3ab962e3102722b16fd50d3c97847a6
BLAKE2b-256 c736b798b87cde790757837bd2f79c1d7e313896d082445deea08f6a91a7fb62

See more details on using hashes here.

File details

Details for the file jsoneng-1.0.2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for jsoneng-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9b24a203be6061b51ecd307701b6db27295da5f5e3d5e540cf479d696b7d5505
MD5 9651325f30986b7e4a846f09640d0262
BLAKE2b-256 dda09cef4e9bccfb6f02e00891c8e38fba32b693cb4d4b561e1746db81b6ad76

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