Metadata-Version: 2.4
Name: simple-dir-archive
Version: 0.1.0
Summary: a simple lib for make an archive file for a directory.
License: MIT
License-File: LICENSE
Author: GGN_2015
Author-email: neko@jlulug.org
Requires-Python: >=3.10
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Description-Content-Type: text/markdown

# simple-dir-archive
a simple lib for make an archive file for a directory.

## Installation

```bash
pip install simple-dir-archive
```

## Usage

```python
import simple_dir_archive

# load a folder into memory
folder_path = "test_data/test_folder"
data_dict = simple_dir_archive.load_dir_or_file_to_dict(folder_path)

# save the cached folder into new position
output_path = "test_data/copy_folder"
simple_dir_archive.save_dict_to_dir_or_file(data_dict, output_path)

print(
    simple_dir_archive.check_same(
        simple_dir_archive.load_dir_or_file_to_dict(folder_path),
        simple_dir_archive.load_dir_or_file_to_dict(output_path)
    )
)
```

