Metadata-Version: 2.1
Name: database_json
Version: 0.0.2
Summary: This module for create database with JSON
Home-page: https://github.com/hleb2702/json_db.git
Download-URL: https://github.com/hleb2702/json_db/archive/refs/heads/main.zip
Author: Hleb2702
Author-email: glebstetko2@gmail.com
License: Apache License, Version 2.0, see LICENSE file
Requires: json
Description-Content-Type: text/markdown
License-File: LICENSE

# How use it?

Install:
```
pip install json-database
```
import:
```py
from json_database import json_db
```
Create database (file), write:
```py
db = json_db("name")


```
get somebody from database
```py
db.get(self, name: str) -> list
```
delete somebody from database
```py
db.delete(self, name: str) -> None
```
create and redact type in database
```py
db.redact(self, name: str, new_dict: list = []) -> None
```
update information in file.json
```py
db.commit(self) -> None
```
get new self.json from file.json
```py
db.update(self) -> None
```


