It takes a CSV file as input, converts
and save the data into a default set Database (fileupload
).
The table name will consist of the name of the file user is uploading.
After a successful upload user can perform CRUD operations on the file data using a localhost server.
pip install csv-to-db-converter-saatwikmehta
-
Activate your python venv
-
Install the requirements given:
pip install -r requirements.txt
-
Mysql is the main component for storing data
- Set env variables
$env:HOST= your hostname for mysql
$env:USER= your username
$env:PASSWORD= your password
- Set env variables
-
Run server inside directory file upload_file.py
python upload_file.py
© 2022 Saatwik Mehta
This repository is licensed under the MIT license. See LICENSE for details.