/csv-to-database

csv to database script written in Python

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Description

Python-based program, which reads a CSV file and saves its content to a database of choice

Getting Started

  1. Clone the repository (https://www.github.com/pjedra96/csv-to-database) to a directory of your choice.
  2. Ensure that you have Python installed on your system along with the PIP.
  3. Install all dependencies on your machine using PIP (csv, mysql.connector, pymongo).
  4. Modify/ un-comment the code according to your needs.
  5. Execute py csv-to-db.py -f "sample.csv", where -f indicates the csv file to be read