Metadata-Version: 2.1
Name: Table2JSON
Version: 1.0.0
Summary: Convert Tabular Data to JSON
Home-page: https://github.com/amoghmadan/Table2JSON
Author: Amogh Madan
Author-email: amoghmadaan@gmail.com
License: MIT
Project-URL: Documentation, https://github.com/amoghmadan/Table2JSON
Platform: any
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
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: Programming Language :: Python :: 3.9
Classifier: Topic :: Utilities
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy (==1.21.4)
Requires-Dist: pandas (==1.3.4)
Requires-Dist: python-dateutil (==2.8.2)
Requires-Dist: pytz (==2021.3)
Requires-Dist: six (==1.16.0)
Provides-Extra: all
Requires-Dist: defusedxml (==0.7.1) ; extra == 'all'
Requires-Dist: et-xmlfile (==1.1.0) ; extra == 'all'
Requires-Dist: odfpy (==1.4.1) ; extra == 'all'
Requires-Dist: openpyxl (==3.0.9) ; extra == 'all'
Requires-Dist: pyxlsb (==1.0.9) ; extra == 'all'
Requires-Dist: xlrd (==2.0.1) ; extra == 'all'
Requires-Dist: mysqlclient (==2.0.3) ; extra == 'all'
Requires-Dist: pytz (==2021.3) ; extra == 'all'
Requires-Dist: neo4j (==4.4.0) ; extra == 'all'
Provides-Extra: excel
Requires-Dist: defusedxml (==0.7.1) ; extra == 'excel'
Requires-Dist: et-xmlfile (==1.1.0) ; extra == 'excel'
Requires-Dist: odfpy (==1.4.1) ; extra == 'excel'
Requires-Dist: openpyxl (==3.0.9) ; extra == 'excel'
Requires-Dist: pyxlsb (==1.0.9) ; extra == 'excel'
Requires-Dist: xlrd (==2.0.1) ; extra == 'excel'
Provides-Extra: mysql
Requires-Dist: mysqlclient (==2.0.3) ; extra == 'mysql'
Provides-Extra: neo4j
Requires-Dist: pytz (==2021.3) ; extra == 'neo4j'
Requires-Dist: neo4j (==4.4.0) ; extra == 'neo4j'

# Table2JSON
Convert Tabular Data to JSON

**Python 3.7 <= 3.X <= 3.9**

## Debian [Ubuntu, Mint and Others]
```bash
sudo apt-get install python3.X-venv python3.X-dev libssl-dev libmysqlclient-dev build-essential
```
Note (Python): Replace X with Python Minor Version

## Redhat [CentOS, Rocky, Fedora and Others]
```bash
sudo yum install python3.X python3.X-devel ssl-devel mysql-devel
```
Note (Python): Replace X with Python Minor Version

Note (Fedora): Replace yum with dnf

Caution: ```Not a tried and tested method but known to work. If mysql-devel thing does not work replace mysqlclient package with pymysql package in the requirements.txt, setup.cfg, tox.ini and the mysql.py file.```

## Windows
Download, MS VS C++ Redistributable: [Microsoft Visual Studio C++ Redistributable]

Download, Python 3.X: [Python 3.X]

Note (Python): Replace X with Python Minor Version

## Requirements [Build]
```bash
pip install -r requirements.txt
```

## Requirements [Development]
```bash
pip install -r requirements.txt
pip install -r requirements/generic/common.txt
pip install -r requirements/generic/csv.txt
pip install -r requirements/generic/excel.txt
pip install -r requirements/generic/mysql.txt
pip install -r requirements/generic/neo4j.txt
pip install -r requirements/generic/sqlite.txt
```

## Generate [Build (Distribution and Wheel)]
```bash
tox -c . -e py3X-build
```

Note: Replace X with Python Minor Version

## Install [Wheel]
```bash
cd dist
pip install Table2JSON-{version}-py3X-none-any.whl[all]  # All Optionals Will Be Installed
```
Note: Replace X with Python Minor Version

# Generate [Executable]
```bash
tox -c . -e py3X-build-exe  # All Optionals Will Be Installed
```
Note (Python): Replace X with Python Minor Version

## Help
```bash
Table2JSON -h
```

### CSV
```bash
Table2JSON csv -h
```

### Excel
```bash
Table2JSON excel -h
```

### MySQL
```bash
Table2JSON mysql -h
```

### Neo4j
```bash
Table2JSON neo4j -h
```

### SQLite
```bash
Table2JSON sqlite -h
```

[Microsoft Visual Studio C++ Redistributable]: https://www.microsoft.com/en-in/download/details.aspx?id=48145
[Python 3.X]: https://www.python.org/downloads/windows/


