Giter Club home page Giter Club logo

Comments (5)

kalimuthu123 avatar kalimuthu123 commented on June 17, 2024

Hi i am very much interested with this package and i want to implement it in my tool and what are the step sfor the implementation of the package

from ln2sql.

lucascasserone avatar lucascasserone commented on June 17, 2024

after running the json file don't was been created.

from ln2sql.

Vikashrajluhaniwal avatar Vikashrajluhaniwal commented on June 17, 2024
  1. Clone the below repo to create a local copy on your computer.
    https://github.com/maverickjoy/ln2sql
  2. Place your database dump file inside the /database folder of the repo. Here, database dump is a file containing all the DDL, DML operations i.e. all information about tables structure and data of the tables.
  3. Now on the command prompt, navigate to the cloned repo and use the following command.
    python ln2sql.py -d database/city.sql -l lang/english.csv -j output.json -i "how many city there are in which the employee name is similar to aman ?"

Note -

  • The table name, columns name, and data provided in the above command is case sensitive as per the database dump file.
  • The complete repo is in Python 2.7 environment.
  • If you want to use other than English language keywords then place the language configuration file inside /lang directory.

from ln2sql.

kalimuthu123 avatar kalimuthu123 commented on June 17, 2024

@Vikashrajluhaniwal is there possibility of connecting my RDBMS in the aws via sqlalchemy packages instead of placing Dump file in the folder

from ln2sql.

isaactyj avatar isaactyj commented on June 17, 2024

@Vikashrajluhaniwal Don't think it works there is a lot that does not work in this repo: https://github.com/maverickjoy/ln2sql like the formatting of it such as reload and exceptions and print statements.

from ln2sql.

Related Issues (20)

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.