Metadata-Version: 2.1
Name: pathdf
Version: 0.2.0
Summary: A package to export file paths to various formats like csv or dataframe
Home-page: https://github.com/MJBioInfo/pathdf
Author: Dr.Majeed Jamakhani
Author-email: mjbioinfo@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pandas
Requires-Dist: openpyxl

# pathdf

A package to convert file paths to CSV or any format .

## Installation

```sh
pip install pathdf

Usage : 

from pathdf import pathdf

data_dir = "path/to/data"
output_dir = "path/to/output"
output_file = "files_df"
suffixes = [".png", ".jpg", ".txt", ".MRI"]
file_format = "csv"  # Options: "csv", "txt", "xlsx"
pathdf(data_dir, output_dir, f"{output_file}.{file_format}", suffixes, file_format)
