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 hashes)

Uploaded Source

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