https://github.com/ziadcoolio/Excel2SQL
This script converts tables created in excel into SQL queries for easoy conversion of excel to SQL.
https://github.com/ziadcoolio/Excel2SQL
Last synced: 4 months ago
JSON representation
This script converts tables created in excel into SQL queries for easoy conversion of excel to SQL.
- Host: GitHub
- URL: https://github.com/ziadcoolio/Excel2SQL
- Owner: ziadcoolio
- License: gpl-3.0
- Created: 2019-05-12T19:08:59.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-10T13:29:30.000Z (about 5 years ago)
- Last Synced: 2024-08-13T07:08:26.286Z (8 months ago)
- Language: Python
- Size: 49.8 KB
- Stars: 3
- Watchers: 0
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - ziadcoolio/Excel2SQL - This script converts tables created in excel into SQL queries for easoy conversion of excel to SQL. (Python)
README
# Excel2SQL
This script converts tables created in excel into SQL queries for easoy conversion of excel to SQL.## Getting Started
You'll need Python3 and OpenPyxl
### Prerequisites
Windows
```
pip install --user openpyxl
```Linux
```
pip3 install --user openpyxl
```The excel file has to be formatted correctly, please look at the included demo excel file for proper operation.
### Installing
To start run the following commands.
Windows
```
python Excel2SQL.py -i INPUT_FILE/INPUT_DIRECTORY -d OUT_DIRECTORY
```Linux
```
python3 Excel2SQL.py -i INPUT_FILE/INPUT_DIRECTORY -d OUT_DIRECTORY
```
If the code runs successfully you should have an INPUT_FILE.sql in your OUT_DIRECTORY## Built With
* [Python3](https://www.python.org/) - The Language Used
* [OpenPyxl](https://openpyxl.readthedocs.io/en/stable/) - The Library Used## Authors
* **Mohammad Taha Bin Firoz** - [Taha Firoz](https://github.com/Taha-Firoz)
* **Mohammad Ziad Siddiqui** - [Ziad Coolio](https://github.com/ziadcoolio)
* **Abdul Manaan** - [Abul Manaan](https://github.com/444iamahmed)See also the list of [contributors](https://github.com/your/project/contributors) who participated in this project.
## License
This project is licensed under the GPL V3 License - see the [LICENSE.md](LICENSE.md) file for details