Metadata-Version: 2.1
Name: Shiftify
Version: 0.1.2
Summary: A simple utility for converting CSV to JSON and vice versa.
Home-page: http://github.com/abdulrafey38/shiftify
Author: Abdul Rafey
Author-email: abdulrafey38@gmail.com
Keywords: CSV,JSON,conversion,data transformation,file format,convert CSV to JSON,convert JSON to CSV,data interchange,CSV converter,JSON converter,data conversion,format switcher
Description-Content-Type: text/markdown
License-File: LICENSE

# Shiftify

Shiftify is a Python package that provides easy and efficient tools for converting data between CSV and JSON formats. It supports direct file operations to transform CSV files into JSON and vice versa.

## Features

- **CSV to JSON Conversion**: Convert CSV files into JSON format with automatic field detection.
- **JSON to CSV Conversion**: Convert JSON files back into CSV format, also with automatic field detection.
- **Customizable Delimiters and Quotes**: Customize how CSV files are read and written by specifying different delimiters and quote characters.


## Installation

To install Shiftify, run the following command in your terminal:

```bash
pip install Shiftify
```

## Usage

# Converting CSV to JSON
```python
from shiftify import Convert

convert = Convert()
convert.csv_to_json('path/to/your/input.csv', 'path/to/your/output.json')
```
# Converting JSON to CSV
```python
from shiftify import Convert

convert = Convert()
convert.json_to_csv('path/to/your/input.json', 'path/to/your/output.csv')
```
# Update delimiter or quotechar

By default delimiter is `,` and quotechar is `"`, if you want to update these see below:
```python
from shiftify import Convert

convert = Convert(delimiter=',', quotechar='"')
convert.json_to_csv('path/to/your/input.json', 'path/to/your/output.csv')
```

# Contributing
Contributions to Shiftify are welcome! Please feel free to fork the repository, make your changes, and submit a pull request.

# License
This project is licensed under the MIT License - see the LICENSE file for details.
