Skip to main content

This module for create database with JSON

Project description

How use it?

Install:

pip install json-database

import:

from json_database import json_db

Create database (file), write:

db = json_db("name")

get somebody from database

db.get(self, name: str) -> list

delete somebody from database

db.delete(self, name: str) -> None

create and redact type in database

db.redact(self, name: str, new_dict: list = []) -> None

update information in file.json

db.commit(self) -> None

get new self.json from file.json

db.update(self) -> None

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

database_json-0.0.2.tar.gz (6.1 kB view details)

Uploaded Source

File details

Details for the file database_json-0.0.2.tar.gz.

File metadata

  • Download URL: database_json-0.0.2.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for database_json-0.0.2.tar.gz
Algorithm Hash digest
SHA256 3207c29d1b8d7c4b1536f483f1bf296944240b04158a9021f6f07b5ac1dd5d4c
MD5 9825db47cc3e91e23edc51699dda4dd7
BLAKE2b-256 e5d1ecd49c6f30ab8fcc8cb0fa35b2c513c07818cb14c77f8a4ca92115eb5dd5

See more details on using hashes here.

Supported by

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