Metadata-Version: 2.1
Name: convpandas
Version: 0.1.1
Summary: Convert file format with pandas
Home-page: https://github.com/yuji38kwmt/convert-fileformat-with-pandas.git
License: MIT
Keywords: pandas,csv,xlsx,excel
Author: yuji38kwmt
Author-email: yuji38kwmt@yahoo.co.jp
Requires-Python: >=3.7,<4.0
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Utilities
Requires-Dist: click (>=7.1.2,<8.0.0)
Requires-Dist: openpyxl (>=3.0.3,<4.0.0)
Requires-Dist: pandas (>=1.0.3,<2.0.0)
Requires-Dist: xlrd (>=1.2.0,<2.0.0)
Project-URL: Repository, https://github.com/yuji38kwmt/convert-fileformat-with-pandas.git
Description-Content-Type: text/markdown

# convert-fileformat-with-pandas
Convert file format with pandas

[![Build Status](https://travis-ci.org/yuji38kwmt/convpandas.svg?branch=master)](https://travis-ci.org/yuji38kwmt/convpandas)
[![PyPI version](https://badge.fury.io/py/convpandas.svg)](https://badge.fury.io/py/convpandas)
[![Python Versions](https://img.shields.io/pypi/pyversions/convpandas.svg)](https://pypi.org/project/convpandas/)

# Requirements
* Python 3.6+

# Install

```
$ pip install convpandas
```

https://pypi.org/project/convpandas/


# Usage

## csv2xlsx
Convert csv file to xlsx file.

```
$ convpandas csv2xlsx in.csv out.xlsx
```

### Options

```
Options:
  --sep TEXT                   Delimiter to use when reading csv.  [default:,]
  --encoding TEXT              Encoding to use when reading csv. List of Python standard encodings .  [default: utf-8]
  --quotechar TEXT             The character used to denote the start and end of a quoted item when reading csv.
  --string_to_numeric BOOLEAN  If true, convert string to numeric. [default: utf-8]
```

## xlsx2csv
Convert xlsx file to csv file.

```
$ convpandas xlsx2csv in.xlsx out.csv
```


```
Options:
  --sheet_name TEXT  Sheet name when reading xlsx. If not specified, read 1st sheet.
  --sep TEXT         Field delimiter for the output file.  [default: ,]
  --encoding TEXT    A string representing the encoding to use in the output file.  [default: utf-8]
  --quotechar TEXT   Character used to quote fields.
```

