Skip to main content

A small satabase package

Project description

PyJsonDB

How to use it?

import pyjsondb as db

db.init("database")

Create a table

table = db.Table("table_name")

# set the different fields
table.set_fields(["name", "age", "etc"])

adding item

table.add(["pyjsondb", 13, "python"])

Remove item

table.remove_by_id(1)

# filtering
delete_item = table.filter_by({"age" : 13})
table.delete(delete_item)

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

pyjsondb-0.0.1.tar.gz (2.4 kB view details)

Uploaded Source

File details

Details for the file pyjsondb-0.0.1.tar.gz.

File metadata

  • Download URL: pyjsondb-0.0.1.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.7

File hashes

Hashes for pyjsondb-0.0.1.tar.gz
Algorithm Hash digest
SHA256 541d337e2d116032867228d4d793b5cbdb34acbec1c60c7cfe89b42a3d5e85fa
MD5 a6bbdf6c2170a8e7e6276cc5d3ee0e94
BLAKE2b-256 85f1c99617ab6b852faf140f599a19f4497e5c9d489e749f99b89902b0aaa04a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page