GithubHelp home page GithubHelp logo

excel-to-sql's Introduction

Excel-to-SQL Converter

Overview

The Excel-to-SQL Converter is a Python tool designed to read data from an Excel file and generate executable SQL commands. This tool simplifies the process of migrating data from Excel spreadsheets to SQL databases.

Features

  • Converts Excel data to SQL commands.
  • Supports various SQL databases (e.g., MySQL, PostgreSQL, SQLite).
  • Easy-to-use and customizable.

Requirements

  • Python 3.x
  • openpyxl library (pip install openpyxl)

Usage

  1. Install Dependencies:

    pip install openpyxl
  2. Clone the Repository:

    git clone https://github.com/s4hil/excel-to-sql.git
    cd excel-to-sql
  3. Run the Converter:

    python main.py
  4. Move the script: Move the excel file into the directory containing the script.

  5. Import SQL Data: Execute the generated SQL file using your preferred SQL client or command line tool to import the data into your database. An output.txt file will contain the output.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Feel free to contribute and report issues on GitHub.

excel-to-sql's People

Contributors

s4hil avatar

Stargazers

Sahil Prasad avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.