DBjson
crud operation with database using json.
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)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dbjsonpy-1.0.7-py3-none-any.whl | Python 3 | none | any | Details for dbjsonpy-1.0.7-py3-none-any.whl |
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
|
Security for dbjsonpy 1.0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.