Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jsonengine

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonengine

A package for a python JSON database CRUD engine

  • 1.0.5
  • PyPI
  • Socket score

Maintainers
1

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

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc