Skip to main content

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

Metadata

Release files for dbjsonpy 1.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for dbjsonpy 1.0.7
File Interpreter ABI Platform
dbjsonpy-1.0.7-py3-none-any.whl Python 3 none any Details

Release files / dbjsonpy-1.0.7-py3-none-any.whl

Download URL dbjsonpy-1.0.7-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5236a0ce317b17feda1b55deb66b6653eb8cca625e064c7d0b23337e5fd33857
BLAKE2b-256 checksum
How to use checksums
7be1e7510be880450ad096928f47746a0101e5b1172fa94a26f039fd0b24d29c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Release history Release notifications | RSS feed

This release

1.0.7 This release

1 release file

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page