Metadata-Version: 2.1
Name: HashToDocx
Version: 1.0.0
Home-page: https://github.com/qerogram/HashToDocument
Author: Qerogram
Author-email: qerogram@google.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE

# HashToDocument
Write File Information to docx(for Forensic)

# Install
```sh
$ pip install HashToDocument 
```

# Usage
## 1. Basic Usage Example
```python
from HashToDocument import HashToDocument

docx = HashToDocument()
docx.scanDir('sample') # input target Directories
docx.save('123.docx') # save to docx
```

## 2. Recursive Directory Usage Example
```python
from HashToDocument import HashToDocument

docx = HashToDocument()
docx.scanDir(
    dir     = 'sample',   # input target Directories
    option  = 'recursive' 
) 

docx.save('123.docx') # # save to docx
```

## 3. set Range parsing field
You can filter only the fields you want by adjusting the list variable.
```python
from HashToDocument import HashToDocument

# Field
Field = ['filename', 'size', 'md5', 'sha1', 'sha256', 'ctime', 'mtime', 'atime']

docx = HashToDocument(Field)
docx.scanDir('sample') # input target Directories
docx.save('123.docx') # # save to docx
```
