You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

dbjsonpy

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dbjsonpy

crud operation with database using json.

1.0.7
PyPI
Maintainers
1

DBjson

crud operation with database using json.

PyPI version Downloads Downloads

Features

  • create data.
  • read data.
  • delete data
  • update data
  • search data

Install

pip install dbjsonpy

Example

minimal example

from dbjson import DBjson

db = DBjson('sqlite:///test.db')

class User(db.Model):
    name = db.Column(db.String)

# insert data
add_data = {"name": "Jak","city": "india"}
print(db.add(User, add_data))

# read all data
print(db.get_all(User))

see full example here

Todo

  • update data
  • add multiple data
  • search data
  • paginate data

Keywords

dbjson

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