Metadata-Version: 2.5
Name: fjs
Version: 0.0.1
Summary: Create and manage a simple JSON database file.
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# fjs (fast json storage)

## About

**fjs** is a python library that allows you to create and manage a simple database JSON file. This library requires python version **>=3.8**.

## Features

- Create database files.
- Update database files.
- Read database files.

## How to use

```python
import fjs

# You can also use the absolute path
file_path = "database.json"

# Creates a new database file
fjs.create_storage(file_path)

workers_database = [
    {"name": "John", "age": 24},
    {"name": "Emily", "age": 26}
]

# Updates the database file
fjs.update_storage(file_path, students_database)

# Reads the database file
loaded_data = fjs.read_storage(file_path)
print(loaded_data)

```

## Main Methods

- **`create_storage(file_name: str)`**
- **`update_storage(file_name: str, data: any)`**
- **`read_storage(file_name: str)`**

## Licence 
swift-storage is released as an open source project under the [MIT Licence](https://opensource.org/license/mit).